summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qmldebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/debugger/qmldebug.cpp')
-rw-r--r--src/declarative/debugger/qmldebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/debugger/qmldebug.cpp b/src/declarative/debugger/qmldebug.cpp
index a515c1d..1ef7503 100644
--- a/src/declarative/debugger/qmldebug.cpp
+++ b/src/declarative/debugger/qmldebug.cpp
@@ -276,7 +276,7 @@ QmlDebugPropertyWatch *QmlEngineDebug::addWatch(const QmlDebugPropertyReference
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
- ds << QByteArray("WATCH_PROPERTY") << queryId << property.objectDebugId() << property.name().toLatin1();
+ ds << QByteArray("WATCH_PROPERTY") << queryId << property.objectDebugId() << property.name().toUtf8();
d->client->sendMessage(message);
} else {
watch->m_state = QmlDebugWatch::Dead;