diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-17 18:47:03 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-17 18:47:03 +0000 |
| commit | a9b30ee002d828f3f5e8f77ce6d132bb353ed31f (patch) | |
| tree | ee6ab34ad2ffd60f5ba3e6f0dbbf7af62bf5b423 /utils/themeeditor | |
| parent | 8e8c8dce51c9b1cd5aa49e2d1edec908e2dfcdc6 (diff) | |
| download | rockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.zip rockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.tar.gz rockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.tar.bz2 rockbox-a9b30ee002d828f3f5e8f77ce6d132bb353ed31f.tar.xz | |
Theme Editor: Made allll destructors virtual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26895 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor')
| -rw-r--r-- | utils/themeeditor/gui/codeeditor.h | 1 | ||||
| -rw-r--r-- | utils/themeeditor/gui/configdocument.h | 1 | ||||
| -rw-r--r-- | utils/themeeditor/gui/editorwindow.h | 2 | ||||
| -rw-r--r-- | utils/themeeditor/gui/preferencesdialog.h | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/codeeditor.h b/utils/themeeditor/gui/codeeditor.h index 1771e31..528dfb2 100644 --- a/utils/themeeditor/gui/codeeditor.h +++ b/utils/themeeditor/gui/codeeditor.h @@ -56,6 +56,7 @@ class CodeEditor : public QPlainTextEdit public: CodeEditor(QWidget *parent = 0); + virtual ~CodeEditor(){ } void lineNumberAreaPaintEvent(QPaintEvent *event); int lineNumberAreaWidth(); diff --git a/utils/themeeditor/gui/configdocument.h b/utils/themeeditor/gui/configdocument.h index 746ed94..0057ac1 100644 --- a/utils/themeeditor/gui/configdocument.h +++ b/utils/themeeditor/gui/configdocument.h @@ -41,6 +41,7 @@ class NoScrollCombo: public QComboBox { public: NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {} + virtual ~NoScrollCombo(){ } void wheelEvent(QWheelEvent* event) { event->ignore(); } }; diff --git a/utils/themeeditor/gui/editorwindow.h b/utils/themeeditor/gui/editorwindow.h index 6f73735..08af08a 100644 --- a/utils/themeeditor/gui/editorwindow.h +++ b/utils/themeeditor/gui/editorwindow.h @@ -46,7 +46,7 @@ class EditorWindow : public QMainWindow Q_OBJECT public: EditorWindow(QWidget *parent = 0); - ~EditorWindow(); + virtual ~EditorWindow(); /* A public function so external widgets can load files */ void loadTabFromSkinFile(QString fileName); diff --git a/utils/themeeditor/gui/preferencesdialog.h b/utils/themeeditor/gui/preferencesdialog.h index e28a830..d717d04 100644 --- a/utils/themeeditor/gui/preferencesdialog.h +++ b/utils/themeeditor/gui/preferencesdialog.h @@ -33,7 +33,7 @@ class PreferencesDialog : public QDialog { Q_OBJECT public: PreferencesDialog(QWidget *parent = 0); - ~PreferencesDialog(); + virtual ~PreferencesDialog(); static void setButtonColor(QPushButton* button, QColor color) { |