diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-10-27 07:43:49 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-10-27 07:43:49 (GMT) |
commit | 8df0b615766e6fa44a0ec45938f297a039d5060f (patch) | |
tree | 32dc0ceb1dd99a8cceb543ce0bc6bb8630a1830a /tools | |
parent | 67eaf2cef1f9624c4a74164a18cd46f502419922 (diff) | |
download | Qt-8df0b615766e6fa44a0ec45938f297a039d5060f.zip Qt-8df0b615766e6fa44a0ec45938f297a039d5060f.tar.gz Qt-8df0b615766e6fa44a0ec45938f297a039d5060f.tar.bz2 |
minor fixes
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 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("<unnamed>") : object.name()); addWatch(watch, desc); emit watchCreated(watch); |