From 665527346c619a393030affcf883b950f62ef9d4 Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Fri, 15 Oct 2010 09:52:23 +0200 Subject: [PATCH] QmlObserver: Fix "Waiting for connection ..." message box on exit (Windows) Disable the message box feature alltogether: Debugging output should be captured by QtCreator already. Task-number: QTCREATORBUG-2748 --- share/qtcreator/qml/qmlobserver/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qml/qmlobserver/main.cpp b/share/qtcreator/qml/qmlobserver/main.cpp index 0aac08f71e7..2adfc2605fd 100644 --- a/share/qtcreator/qml/qmlobserver/main.cpp +++ b/share/qtcreator/qml/qmlobserver/main.cpp @@ -184,7 +184,9 @@ int main(int argc, char ** argv) #if defined (Q_OS_WIN) // Debugging output is not visible by default on Windows - // therefore show modal dialog with errors instead. - atexit(showWarnings); + + // (Disabled in QmlObserver: We're usually running inside QtCreator anyway, see also QTCREATORBUG-2748) +// atexit(showWarnings); #endif #if defined (Q_WS_X11) || defined (Q_WS_MAC) -- GitLab