summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-12-07 03:49:29 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-12-07 03:49:29 (GMT)
commit856b2cb8cdd0a5493f555b3d622fb819af9d826d (patch)
treeae4a53b46133fc5103777f9bcb2c44bc7e00fe74 /src/declarative/qml
parent30a1ff1f24d24f7090330838bc7d39394cf5e1fb (diff)
downloadQt-856b2cb8cdd0a5493f555b3d622fb819af9d826d.zip
Qt-856b2cb8cdd0a5493f555b3d622fb819af9d826d.tar.gz
Qt-856b2cb8cdd0a5493f555b3d622fb819af9d826d.tar.bz2
Fix spurious logging problems.
(printf patterns would be expanded!)
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 2aecfed..8258bcb 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -910,7 +910,7 @@ QScriptValue QmlEnginePrivate::consoleLog(QScriptContext *ctxt, QScriptEngine *e
// does just ignore the format letter, which makes it pointless.
}
- qDebug(msg.constData());
+ qDebug("%s",msg.constData());
return e->newVariant(QVariant(true));
}