Removed annoying warning about threading
authorGunnar Sletta <gunnar.sletta@nokia.com>
Mon, 14 Nov 2011 14:20:37 +0000 (15:20 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 14 Nov 2011 15:39:25 +0000 (16:39 +0100)
Task-number: QTBUG-21707

Change-Id: I7ea7c53f39e2474093d628b5a75a435353b87b87
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>

src/declarative/items/qquickcanvas.cpp

index d5003e9..99ac994 100644 (file)
@@ -132,13 +132,6 @@ public:
         : updatePending(false)
         , animationRunning(false)
     {
-        static bool warningMessage = false;
-        if (!warningMessage) {
-            warningMessage = true;
-            qWarning("QQuickCanvas: using non-threaded render loop. Be very sure to not access scene "
-                     "graph objects outside the QQuickItem::updatePaintNode() call. Failing to do so "
-                     "will cause your code to crash on other platforms!");
-        }
     }
 
     virtual void paint() {