debugger: remove unnecessary first level in WatchModel

There used to be a single 'Locals' etc item of the true root that was
never shown anyway. Removing this also renders using setRootIndex()
in WatchWindow unnecessary.
This commit is contained in:
hjk
2009-07-13 11:25:05 +02:00
parent e70bb220b1
commit 8c00de4536
5 changed files with 22 additions and 42 deletions

View File

@@ -193,7 +193,7 @@ private:
void reinitialize();
void removeOutdated();
void removeOutdatedHelper(WatchItem *item);
WatchItem *dummyRoot() const;
WatchItem *rootItem() const;
void removeItem(WatchItem *item);
void setActiveData(const QString &data) { m_activeData = data; }