From 83029e5efe6c200def9f2bb4e116fd22bb220f52 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Mon, 14 Nov 2011 15:20:37 +0100 Subject: [PATCH] Removed annoying warning about threading MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-21707 Change-Id: I7ea7c53f39e2474093d628b5a75a435353b87b87 Reviewed-by: Samuel Rødal --- src/declarative/items/qquickcanvas.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/declarative/items/qquickcanvas.cpp b/src/declarative/items/qquickcanvas.cpp index d5003e9..99ac994 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() { -- 2.7.4