aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-09-04 17:34:56 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-07 02:15:23 +0200
commit25f5d375b4ba386263a480ba308a235eb6c10d47 (patch)
tree16622cfc10cd32eadd1ad5686065a410cd2ce75b /src/quick/scenegraph/qsgthreadedrenderloop.cpp
parent0c7c0aa24043b0ed9d34fe13294d1a34f1b57107 (diff)
Remove variables that aren't being used right now
Found by ICC. src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index d91c6f5823..ba7bdbb2f4 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -161,7 +161,7 @@ const QEvent::Type WM_Expose = QEvent::Type(QEvent::User + 1);
const QEvent::Type WM_Obscure = QEvent::Type(QEvent::User + 2);
// Passed from the RL to itself to initiate a polishAndSync() call.
-const QEvent::Type WM_LockAndSync = QEvent::Type(QEvent::User + 3);
+//const QEvent::Type WM_LockAndSync = QEvent::Type(QEvent::User + 3); // not used for now
// Passed from the RL to RT when GUI has been locked, waiting for sync
// (updatePaintNode())
@@ -178,7 +178,7 @@ const QEvent::Type WM_TryRelease = QEvent::Type(QEvent::User + 7);
// Passed by the RL to the RL when maybeUpdate is called on the RT to
// just replay the maybeUpdate later. This typically happens when
// updatePaintNode() results in a call to QQuickItem::update().
-const QEvent::Type WM_UpdateLater = QEvent::Type(QEvent::User + 8);
+//const QEvent::Type WM_UpdateLater = QEvent::Type(QEvent::User + 8); // not used for now
// Passed by the RL to the RT when a QQuickWindow::grabWindow() is
// called.