aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2014-12-02 14:37:16 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-05 12:26:38 +0100
commit73234f9952d7a2f0e2049a56eeb6bfcd794b7a4f (patch)
tree3c6aa99f804fc672718605f8b6325d14d597faa6 /src/qml/qml/qqmlengine.cpp
parent5a4eebbc46ca9cb0a64cd1aeb2aa9c32646a4a44 (diff)
Mark parameter to QQmlDebuggingEnabler as unused if it isn't used.
Change-Id: I6e843dee8e25b3aacfe3de7c584effd36efdb708 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 18ae649091..e6239f0081 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1443,6 +1443,8 @@ QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool printWarning)
qDebug("QML debugging is enabled. Only use this in a safe environment.");
}
QQmlEnginePrivate::qml_debugging_enabled = true;
+#else
+ Q_UNUSED(printWarning);
#endif
}