diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-10-14 05:46:13 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-10-14 05:47:12 (GMT) |
commit | 984cb207df0c409ff166d12a194e6e8340950ba1 (patch) | |
tree | 5ecef0b4059503371e3238efacbab959fad771a8 /src/declarative/qml/qmlinfo.cpp | |
parent | 11ad93f85fb888cfdfb8a534dcde7f536f13e1a2 (diff) | |
download | Qt-984cb207df0c409ff166d12a194e6e8340950ba1.zip Qt-984cb207df0c409ff166d12a194e6e8340950ba1.tar.gz Qt-984cb207df0c409ff166d12a194e6e8340950ba1.tar.bz2 |
Minor fixes for qmlInfo.
Diffstat (limited to 'src/declarative/qml/qmlinfo.cpp')
-rw-r--r-- | src/declarative/qml/qmlinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlinfo.cpp b/src/declarative/qml/qmlinfo.cpp index 862d6ba..119641f 100644 --- a/src/declarative/qml/qmlinfo.cpp +++ b/src/declarative/qml/qmlinfo.cpp @@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE For example, \code - qmlInfo(object, tr("component property is a write-once property")); + qmlInfo(tr("component property is a write-once property"), object); \endcode prints @@ -77,7 +77,7 @@ void qmlInfo(const QString& msg, QObject* object) { QString pos = QLatin1String("QML"); if (object) { - pos += " "; + pos += QLatin1Char(' '); pos += QLatin1String(object->metaObject()->className()); } QmlDeclarativeData *ddata = QmlDeclarativeData::get(object); |