diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmldebugger/standalone/qmldebugger.cpp | 2 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/watchtable.cpp | 2 |
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); |