summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2010-06-30 12:44:29 (GMT)
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2010-07-01 08:24:55 (GMT)
commit7bb2eb806a6d8bcead12c199ae8614af250f6a6c (patch)
tree9a2d2ebb9b9ec381b6ef4da57cf019acf0684a33 /tools/qml
parentc24f25fa537486c8c5e38ecfde490b7422a28f81 (diff)
downloadQt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.zip
Qt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.tar.gz
Qt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.tar.bz2
Removed compilation warning for systems with no OpenGL support
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/qmlruntime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 94fcc82..debc902 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -1364,6 +1364,8 @@ void QDeclarativeViewer::setUseGL(bool useGL)
canvas->setViewport(glWidget);
}
+#else
+ Q_UNUSED(useGL)
#endif
}