Fix MinGW warning about qDebug() formats.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 12 Apr 2012 14:50:52 +0000 (16:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Apr 2012 06:32:37 +0000 (08:32 +0200)
Change-Id: I927d17240a7cc7b88814601b0711aa46ca166ff9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/widgets/styles/qwindowsxpstyle.cpp

index 336d93e..6789598 100644 (file)
@@ -323,7 +323,7 @@ void QWindowsXPStylePrivate::cleanupHandleMap()
 HTHEME QWindowsXPStylePrivate::createTheme(int theme, HWND hwnd)
 {
     if (theme < 0 || theme >= NThemes || !hwnd) {
-        qWarning("%s: Invalid parameters #%d, %p", theme, hwnd);
+        qWarning("%s: Invalid parameters #%d, %p", Q_FUNC_INFO, theme, hwnd);
         return 0;
     }
     if (!m_themes[theme]) {