diff options
Diffstat (limited to 'utils/themeeditor/gui')
| -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) { |