summaryrefslogtreecommitdiffstats
path: root/tools/testcon/mainwindow.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-04 14:31:18 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-04 15:10:15 +0200
commit20f6c67635240865d33a370230a156de0f051d07 (patch)
treed2f6780e02d00de161bca1391db8d1acb1678d56 /tools/testcon/mainwindow.h
parentf1c8d2893d385ccfec2049655392ffca309675bd (diff)
Introduce member initialization
Fix warnings emitted by clang, use default constructors where applicable. Remove some unused members. Change-Id: I287ffa4d884be253ec5272e4266a1645376e7235 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tools/testcon/mainwindow.h')
-rw-r--r--tools/testcon/mainwindow.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/testcon/mainwindow.h b/tools/testcon/mainwindow.h
index e980d06..091aac1 100644
--- a/tools/testcon/mainwindow.h
+++ b/tools/testcon/mainwindow.h
@@ -100,13 +100,11 @@ private:
static MainWindow *m_instance;
- InvokeMethod *m_dlgInvoke;
- ChangeProperties *m_dlgProperties;
- AmbientProperties *m_dlgAmbient;
- QAxScriptManager *m_scripts;
- QMdiArea *m_mdiArea;
-
- QtMessageHandler m_oldDebugHandler;
+ InvokeMethod *m_dlgInvoke = nullptr;
+ ChangeProperties *m_dlgProperties = nullptr;
+ AmbientProperties *m_dlgAmbient = nullptr;
+ QAxScriptManager *m_scripts = nullptr;
+ QMdiArea *m_mdiArea = nullptr;
private slots:
void updateGUI();