diff options
author | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2010-06-30 12:44:29 (GMT) |
---|---|---|
committer | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2010-07-01 08:24:55 (GMT) |
commit | 7bb2eb806a6d8bcead12c199ae8614af250f6a6c (patch) | |
tree | 9a2d2ebb9b9ec381b6ef4da57cf019acf0684a33 | |
parent | c24f25fa537486c8c5e38ecfde490b7422a28f81 (diff) | |
download | Qt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.zip Qt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.tar.gz Qt-7bb2eb806a6d8bcead12c199ae8614af250f6a6c.tar.bz2 |
Removed compilation warning for systems with no OpenGL support
Reviewed-by: Aaron Kennedy
-rw-r--r-- | tools/qml/qmlruntime.cpp | 2 |
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 } |