aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qquickcanvas.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-11-14 15:20:37 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-14 16:39:25 +0100
commit83029e5efe6c200def9f2bb4e116fd22bb220f52 (patch)
tree0582914e7cd279dfd37e5ab38c011431c0744062 /src/declarative/items/qquickcanvas.cpp
parent885d3cfd658d2003cea5cdc8b7c347748ce030dd (diff)
Removed annoying warning about threading
Task-number: QTBUG-21707 Change-Id: I7ea7c53f39e2474093d628b5a75a435353b87b87 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/declarative/items/qquickcanvas.cpp')
-rw-r--r--src/declarative/items/qquickcanvas.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/declarative/items/qquickcanvas.cpp b/src/declarative/items/qquickcanvas.cpp
index d5003e9321..99ac9947c8 100644
--- a/src/declarative/items/qquickcanvas.cpp
+++ b/src/declarative/items/qquickcanvas.cpp
@@ -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() {