diff options
Diffstat (limited to 'tools/testcon/mainwindow.cpp')
-rw-r--r-- | tools/testcon/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testcon/mainwindow.cpp b/tools/testcon/mainwindow.cpp index e4587be..98550ab 100644 --- a/tools/testcon/mainwindow.cpp +++ b/tools/testcon/mainwindow.cpp @@ -76,9 +76,9 @@ MainWindow::MainWindow(QWidget *parent) , m_dlgAmbient(Q_NULLPTR) , m_scripts(Q_NULLPTR) { - MainWindow::m_instance = this; - setupUi(this); + MainWindow::m_instance = this; // Logging handler needs the UI + setObjectName(QLatin1String("MainWindow")); const int scriptCount = int(sizeof(scriptLanguages) / sizeof(scriptLanguages[0])); |