From 2469c53bbe67a7dd82ca03bc6c3a9c149cf8ae72 Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Fri, 30 Nov 2012 22:02:37 +0200 Subject: [PATCH] Win32: fix crash on Win32 when closing LC. --- src/core/debugmessagehandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/debugmessagehandler.cpp b/src/core/debugmessagehandler.cpp index 172a220..d9d24c0 100644 --- a/src/core/debugmessagehandler.cpp +++ b/src/core/debugmessagehandler.cpp @@ -39,6 +39,10 @@ namespace if (!strcmp (message, "QPixmap::handle(): Pixmap is not an X11 class pixmap")) return; #endif +#if defined (Q_OS_WIN32) + if (!strcmp (message, "QObject::startTimer: QTimer can only be used with threads started with QThread")) + return; +#endif static std::map fileName; fileName[QtDebugMsg] = "debug.log"; fileName[QtWarningMsg] = "warning.log"; -- 1.7.11.msysgit.1