summaryrefslogtreecommitdiff
path: root/tools/qmldebugger/standalone/watchtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmldebugger/standalone/watchtable.cpp')
-rw-r--r--tools/qmldebugger/standalone/watchtable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmldebugger/standalone/watchtable.cpp b/tools/qmldebugger/standalone/watchtable.cpp
index ee74cfb508..a7fd052f62 100644
--- a/tools/qmldebugger/standalone/watchtable.cpp
+++ b/tools/qmldebugger/standalone/watchtable.cpp
@@ -216,7 +216,7 @@ void WatchTableModel::togglePropertyWatch(const QmlDebugObjectReference &object,
QString desc = property.name()
+ QLatin1String(" on\n")
+ object.className()
- + QLatin1String(": ")
+ + QLatin1String(":\n")
+ (object.name().isEmpty() ? QLatin1String("<unnamed>") : object.name());
addWatch(watch, desc);
emit watchCreated(watch);