Commit 95d3e5c5 authored by Lasse Holmstedt's avatar Lasse Holmstedt

QML Observer: Remove compiler warning

parent 4d51853d
......@@ -657,6 +657,7 @@ void QDeclarativeViewer::setDesignModeBehavior(bool value)
void QDeclarativeViewer::setDebugMode(bool on)
{
Q_UNUSED(on);
//if (on)
{
new JSDebuggerAgent(QDeclarativeEnginePrivate::getScriptEngine(canvas->engine()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment