forked from qt-creator/qt-creator
Debugger: Remove unused WatchHandler::removeChildren()
Change-Id: Ieef352db04978ad48dfe47178edaec7702dc373b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1298,14 +1298,6 @@ void WatchHandler::removeData(const QByteArray &iname)
|
||||
updateWatchersWindow();
|
||||
}
|
||||
|
||||
void WatchHandler::removeChildren(const QByteArray &iname)
|
||||
{
|
||||
WatchItem *item = m_model->findItem(iname);
|
||||
if (item)
|
||||
item->removeChildren();
|
||||
updateWatchersWindow();
|
||||
}
|
||||
|
||||
QByteArray WatchHandler::watcherName(const QByteArray &exp)
|
||||
{
|
||||
return "watch." + QByteArray::number(theWatcherNames[exp]);
|
||||
|
@@ -240,7 +240,6 @@ public:
|
||||
void insertDataList(const QList<WatchData> &list); // DEPRECATED
|
||||
void insertItem(WatchItem *item); // Takes ownership.
|
||||
void removeData(const QByteArray &iname);
|
||||
void removeChildren(const QByteArray &iname);
|
||||
void removeAllData(bool includeInspectData = false);
|
||||
void resetValueCache();
|
||||
void purgeOutdatedItems(const QSet<QByteArray> &inames);
|
||||
|
Reference in New Issue
Block a user