Blame SOURCES/qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch

e09033
diff -up qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp.qdbusconnection_no_debug.patch qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp
e09033
--- qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp.qdbusconnection_no_debug.patch	2012-09-06 02:33:44.000000000 -0500
e09033
+++ qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp	2012-09-11 08:55:29.854026815 -0500
e09033
@@ -1109,8 +1109,10 @@ public:
e09033
         // make sure this connection is running on the main thread
e09033
         QCoreApplication *instance = QCoreApplication::instance();
e09033
         if (!instance) {
e09033
+#ifndef QT_NO_DEBUG
e09033
             qWarning("QDBusConnection: %s D-Bus connection created before QCoreApplication. Application may misbehave.",
e09033
                      type == SessionBus ? "session" : type == SystemBus ? "system" : "generic");
e09033
+#endif
e09033
         } else if (QDBusConnectionPrivate::d(*this)) {
e09033
             QDBusConnectionPrivate::d(*this)->moveToThread(instance->thread());
e09033
         }