diff --git a/src/main.cpp b/src/main.cpp index fb480ae00e1..8f0cf6de492 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -171,6 +171,7 @@ void MessageHandler(QtMsgType type, int main(int argc, char * argv[]) { + Console console; #ifdef Q_OS_LINUX XInitThreads(); @@ -248,8 +249,6 @@ int main(int argc, char * argv[]) return(0); } - Console console(); - #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) qInstallMsgHandler(MessageHandler); #else