Mark parameter to QQmlDebuggingEnabler as unused if it isn't used.

Change-Id: I6e843dee8e25b3aacfe3de7c584effd36efdb708
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
Ulf Hermann 2014-12-02 14:37:16 +01:00 committed by Simon Hausmann
parent 5a4eebbc46
commit 73234f9952
1 changed files with 2 additions and 0 deletions

View File

@ -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
}