diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-12-07 03:49:29 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-12-07 03:49:29 (GMT) |
commit | 856b2cb8cdd0a5493f555b3d622fb819af9d826d (patch) | |
tree | ae4a53b46133fc5103777f9bcb2c44bc7e00fe74 /src/declarative/qml | |
parent | 30a1ff1f24d24f7090330838bc7d39394cf5e1fb (diff) | |
download | Qt-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.cpp | 2 |
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)); } |