summaryrefslogtreecommitdiff
path: root/tools/qmldebugger
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-27 17:43:49 +1000
committerBea Lam <bea.lam@nokia.com>2009-10-27 17:43:49 +1000
commit8df0b615766e6fa44a0ec45938f297a039d5060f (patch)
tree32dc0ceb1dd99a8cceb543ce0bc6bb8630a1830a /tools/qmldebugger
parent67eaf2cef1f9624c4a74164a18cd46f502419922 (diff)
downloadqt4-tools-8df0b615766e6fa44a0ec45938f297a039d5060f.tar.gz
minor fixes
Diffstat (limited to 'tools/qmldebugger')
-rw-r--r--tools/qmldebugger/standalone/qmldebugger.cpp2
-rw-r--r--tools/qmldebugger/standalone/watchtable.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/qmldebugger/standalone/qmldebugger.cpp b/tools/qmldebugger/standalone/qmldebugger.cpp
index 5455878735..5882cb2ac3 100644
--- a/tools/qmldebugger/standalone/qmldebugger.cpp
+++ b/tools/qmldebugger/standalone/qmldebugger.cpp
@@ -60,9 +60,7 @@ QmlDebugger::QmlDebugger(QWidget *parent)
QObject::connect(&client, SIGNAL(error(QAbstractSocket::SocketError)),
this, SLOT(connectionError(QAbstractSocket::SocketError)));
-
m_tabs->setCurrentIndex(1);
- connectToHost();
}
void QmlDebugger::setHost(const QString &host)
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);