Commit 446c0347 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Avoid memory leak

parent 21d2a808
......@@ -34,7 +34,7 @@ class ProjectPreferences : public QWidget, public PreferenceWidget
//Q_OBJECT
public:
ProjectPreferences( QWidget* parent = 0 );
~ProjectPreferences();
virtual ~ProjectPreferences();
bool load();
void save( QSettings& settings );
private:
......
......@@ -44,7 +44,7 @@ class Settings : public QDialog
public:
Settings( QWidget* parent = 0, Qt::WindowFlags f = 0 );
~Settings();
virtual ~Settings();
void addWidget( const QString& name,
PreferenceWidget* pWidget,
const QString& icon,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment