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:
parent
660b4f01aa
commit
9c5799c842
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user