diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-08 12:55:54 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-08 14:23:30 (GMT) |
commit | 168f75927390d4ab726870946d60604abf994654 (patch) | |
tree | 9c0ff68b880dc00d9695b5addb9991afda787020 /src/corelib/kernel | |
parent | c7296d97ae0dc92b2383dfd47e1f85aa570d5d0c (diff) | |
download | Qt-168f75927390d4ab726870946d60604abf994654.zip Qt-168f75927390d4ab726870946d60604abf994654.tar.gz Qt-168f75927390d4ab726870946d60604abf994654.tar.bz2 |
Small simplification on code
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 1501351..5e33a71 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -2228,11 +2228,11 @@ static void err_method_notfound(const QObject *object, if (strchr(method,')') == 0) // common typing mistake qWarning("Object::%s: Parentheses expected, %s %s::%s%s%s", func, type, object->metaObject()->className(), method+1, - loc ? " in ":"\0", loc ? loc : "\0"); + loc ? " in ": "", loc ? loc : ""); else qWarning("Object::%s: No such %s %s::%s%s%s", func, type, object->metaObject()->className(), method+1, - loc ? " in ":"\0", loc ? loc : "\0"); + loc ? " in ": "", loc ? loc : ""); } |