1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 17:34:40 +02:00

Add explicit destructor to BrowseDialog.

There is no point adding virtual destructors to the subclasses if the superclass has a non-virtual default destructor...
This commit is contained in:
Maarten ter Huurne 2010-06-19 04:51:53 +02:00
parent 660b4f01aa
commit 9c5799c842
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,10 @@ BrowseDialog::BrowseDialog(GMenu2X *gmenu2x, const string &title,
iconFile = gmenu2x->sc.skinRes("imgs/file.png");
}
BrowseDialog::~BrowseDialog()
{
}
bool BrowseDialog::exec()
{
if (!fl)

View File

@ -35,6 +35,7 @@ using std::vector;
class BrowseDialog : protected Dialog {
protected:
BrowseDialog(GMenu2X *gmenu2x, const string &title, const string &subtitle);
virtual ~BrowseDialog();
void setPath(const string &path) {
fl->setPath(path);