diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-12-04 14:31:17 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-12-04 14:31:17 (GMT) |
commit | e524071986aba68956ff4cf18439e3d61ff90ec4 (patch) | |
tree | 5c7e609be153c4f0cbb708e6315d57fc1f9cf16b /src/declarative/util/qmllistmodel.cpp | |
parent | ee9aee5d85345880d8269c02cfd3c2d86e89c9d3 (diff) | |
download | Qt-e524071986aba68956ff4cf18439e3d61ff90ec4.zip Qt-e524071986aba68956ff4cf18439e3d61ff90ec4.tar.gz Qt-e524071986aba68956ff4cf18439e3d61ff90ec4.tar.bz2 |
small cleanup
make use of QVariant::userType over Qvariant::type
make use of char for 1-string character
QCoreApplication::translate is static
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r-- | src/declarative/util/qmllistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp index 00c99f6..995a7a4 100644 --- a/src/declarative/util/qmllistmodel.cpp +++ b/src/declarative/util/qmllistmodel.cpp @@ -902,7 +902,7 @@ static void dump(ModelNode *node, int ind) } for (QHash<QString, ModelNode *>::ConstIterator iter = node->properties.begin(); iter != node->properties.end(); ++iter) { - qWarning().nospace() << indent << "Property " << iter.key() << ":"; + qWarning().nospace() << indent << "Property " << iter.key() << ':'; dump(iter.value(), ind + 1); } } |