summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlenginedebug.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-26 05:47:12 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-26 05:48:03 (GMT)
commitee0c9c7003dc020113886070b5c04dc0a7529bf4 (patch)
tree4bcb10b46991161a59a784db65c13b9dfe34ce0a /src/declarative/qml/qmlenginedebug.cpp
parent7eddab2dc75c79b05d86e2e4b48ac9f4cf102406 (diff)
downloadQt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.zip
Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.gz
Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.bz2
Fix more warnings.
Diffstat (limited to 'src/declarative/qml/qmlenginedebug.cpp')
-rw-r--r--src/declarative/qml/qmlenginedebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlenginedebug.cpp b/src/declarative/qml/qmlenginedebug.cpp
index 7178e6c..664ca3f 100644
--- a/src/declarative/qml/qmlenginedebug.cpp
+++ b/src/declarative/qml/qmlenginedebug.cpp
@@ -104,7 +104,7 @@ QmlEngineDebugServer::propertyData(QObject *obj, int propIdx)
rv.type = QmlObjectProperty::Unknown;
rv.valueTypeName = QString::fromUtf8(prop.typeName());
- rv.name = prop.name();
+ rv.name = QString::fromUtf8(prop.name());
rv.hasNotifySignal = prop.hasNotifySignal();
QmlAbstractBinding *binding = QmlMetaProperty(obj, rv.name).binding();
if (binding)
@@ -229,7 +229,7 @@ QmlEngineDebugServer::objectData(QObject *object)
}
rv.objectName = object->objectName();
- rv.objectType = object->metaObject()->className();
+ rv.objectType = QString::fromUtf8(object->metaObject()->className());
rv.objectId = QmlDebugService::idForObject(object);
rv.contextId = QmlDebugService::idForObject(qmlContext(object));