Commit 47575dc5 authored by hjk's avatar hjk
Browse files

Debugger: Remove some dead code



Change-Id: I715744621e5e74fcd6cd0e2b9fba0c5881cd8da8
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 0253359e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment