forked from qt-creator/qt-creator
Debugger: Remove some dead code
Change-Id: I715744621e5e74fcd6cd0e2b9fba0c5881cd8da8 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -2057,8 +2057,6 @@ void DebuggerPluginPrivate::connectEngine(DebuggerEngine *engine)
|
||||
m_watchersWindow->setModel(engine->watchModel());
|
||||
m_inspectorWindow->setModel(engine->watchModel());
|
||||
|
||||
engine->watchHandler()->rebuildModel();
|
||||
|
||||
mainWindow()->setEngineDebugLanguages(engine->startParameters().languages);
|
||||
mainWindow()->setCurrentEngine(engine);
|
||||
}
|
||||
|
||||
@@ -2007,20 +2007,6 @@ void WatchHandler::removeTooltip()
|
||||
m_model->destroyChildren(m_model->m_tooltipRoot);
|
||||
}
|
||||
|
||||
void WatchHandler::rebuildModel()
|
||||
{
|
||||
// m_model->destroyChildren(m_model->m_watchRoot);
|
||||
|
||||
// foreach (const QString &exp, watchedExpressions()) {
|
||||
// WatchData data;
|
||||
// data.exp = exp.toLatin1();
|
||||
// data.name = exp;
|
||||
// data.iname = watcherName(data.exp);
|
||||
// data.setAllUnneeded();
|
||||
// insertIncompleteData(data);
|
||||
// }
|
||||
}
|
||||
|
||||
void WatchHandler::setTypeFormats(const TypeFormats &typeFormats)
|
||||
{
|
||||
m_model->m_reportedTypeFormats = typeFormats;
|
||||
|
||||
@@ -94,7 +94,6 @@ public:
|
||||
void loadSessionData();
|
||||
void saveSessionData();
|
||||
void removeTooltip();
|
||||
void rebuildModel();
|
||||
|
||||
bool isExpandedIName(const QByteArray &iname) const;
|
||||
QSet<QByteArray> expandedINames() const;
|
||||
|
||||
Reference in New Issue
Block a user