diff options
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 1771e31051..528dfb2c12 100644 --- a/utils/themeeditor/gui/codeeditor.h +++ b/utils/themeeditor/gui/codeeditor.h | |||
@@ -56,6 +56,7 @@ class CodeEditor : public QPlainTextEdit | |||
56 | 56 | ||
57 | public: | 57 | public: |
58 | CodeEditor(QWidget *parent = 0); | 58 | CodeEditor(QWidget *parent = 0); |
59 | virtual ~CodeEditor(){ } | ||
59 | 60 | ||
60 | void lineNumberAreaPaintEvent(QPaintEvent *event); | 61 | void lineNumberAreaPaintEvent(QPaintEvent *event); |
61 | int lineNumberAreaWidth(); | 62 | int lineNumberAreaWidth(); |
diff --git a/utils/themeeditor/gui/configdocument.h b/utils/themeeditor/gui/configdocument.h index 746ed94627..0057ac15c4 100644 --- a/utils/themeeditor/gui/configdocument.h +++ b/utils/themeeditor/gui/configdocument.h | |||
@@ -41,6 +41,7 @@ class NoScrollCombo: public QComboBox | |||
41 | { | 41 | { |
42 | public: | 42 | public: |
43 | NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {} | 43 | NoScrollCombo(QWidget* parent = 0) : QComboBox(parent) {} |
44 | virtual ~NoScrollCombo(){ } | ||
44 | 45 | ||
45 | void wheelEvent(QWheelEvent* event) { event->ignore(); } | 46 | void wheelEvent(QWheelEvent* event) { event->ignore(); } |
46 | }; | 47 | }; |
diff --git a/utils/themeeditor/gui/editorwindow.h b/utils/themeeditor/gui/editorwindow.h index 6f73735100..08af08ac41 100644 --- a/utils/themeeditor/gui/editorwindow.h +++ b/utils/themeeditor/gui/editorwindow.h | |||
@@ -46,7 +46,7 @@ class EditorWindow : public QMainWindow | |||
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | EditorWindow(QWidget *parent = 0); | 48 | EditorWindow(QWidget *parent = 0); |
49 | ~EditorWindow(); | 49 | virtual ~EditorWindow(); |
50 | 50 | ||
51 | /* A public function so external widgets can load files */ | 51 | /* A public function so external widgets can load files */ |
52 | void loadTabFromSkinFile(QString fileName); | 52 | void loadTabFromSkinFile(QString fileName); |
diff --git a/utils/themeeditor/gui/preferencesdialog.h b/utils/themeeditor/gui/preferencesdialog.h index e28a830751..d717d04ab8 100644 --- a/utils/themeeditor/gui/preferencesdialog.h +++ b/utils/themeeditor/gui/preferencesdialog.h | |||
@@ -33,7 +33,7 @@ class PreferencesDialog : public QDialog { | |||
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | public: | 34 | public: |
35 | PreferencesDialog(QWidget *parent = 0); | 35 | PreferencesDialog(QWidget *parent = 0); |
36 | ~PreferencesDialog(); | 36 | virtual ~PreferencesDialog(); |
37 | 37 | ||
38 | static void setButtonColor(QPushButton* button, QColor color) | 38 | static void setButtonColor(QPushButton* button, QColor color) |
39 | { | 39 | { |