From 8df0b615766e6fa44a0ec45938f297a039d5060f Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Tue, 27 Oct 2009 17:43:49 +1000 Subject: minor fixes --- tools/qmldebugger/standalone/qmldebugger.cpp | 2 -- tools/qmldebugger/standalone/watchtable.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/qmldebugger/standalone/qmldebugger.cpp b/tools/qmldebugger/standalone/qmldebugger.cpp index 5455878..5882cb2 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 ee74cfb..a7fd052 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("") : object.name()); addWatch(watch, desc); emit watchCreated(watch); -- cgit v0.12