Debugger: Set model object names at construction time

Change-Id: Ib1d273ef2c2bb97a2343da6d361fde7c01012040
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
hjk
2013-08-19 13:30:10 +02:00
parent ca1716281a
commit 6ef5aaad67
7 changed files with 13 additions and 20 deletions

View File

@@ -274,6 +274,7 @@ private:
WatchModel::WatchModel(WatchHandler *handler)
: m_handler(handler)
{
setObjectName(QLatin1String("WatchModel"));
m_root = createItem(QByteArray(), tr("Root"), 0);
// Note: Needs to stay
m_localsRoot = createItem("local", tr("Locals"), m_root);