forked from qt-creator/qt-creator
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:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user