aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlobserver/main.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-10-15 09:52:23 +0200
committerKai Koehne <kai.koehne@nokia.com>2010-10-15 12:54:07 +0200
commit665527346c619a393030affcf883b950f62ef9d4 (patch)
tree0cff163f9915c0bd224f764e952705e1d3581432 /share/qtcreator/qml/qmlobserver/main.cpp
parent885260f864629a0bcf00d1f0616855e5b0201133 (diff)
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
Diffstat (limited to 'share/qtcreator/qml/qmlobserver/main.cpp')
-rw-r--r--share/qtcreator/qml/qmlobserver/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmlobserver/main.cpp b/share/qtcreator/qml/qmlobserver/main.cpp
index 0aac08f71e..2adfc2605f 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)