Debugger: Remove unused variable

Change-Id: I14058602e0220295ad0e7e91d38d0b6ca83d7e22
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2016-08-02 12:31:34 +02:00
parent 4d29ca2d3a
commit 68f904fb55

View File

@@ -415,7 +415,6 @@ public:
DebuggerEngine *m_engine; // Not owned.
bool m_contentsValid;
bool m_resetLocationScheduled;
WatchItem *m_localsRoot; // Not owned.
WatchItem *m_inspectorRoot; // Not owned.
@@ -439,9 +438,7 @@ WatchModel::WatchModel(WatchHandler *handler, DebuggerEngine *engine)
{
setObjectName("WatchModel");
m_contentsValid = false;
m_contentsValid = true; // FIXME
m_resetLocationScheduled = false;
m_contentsValid = true;
setHeader({ tr("Name"), tr("Value"), tr("Type") });
m_localsRoot = new WatchItem;
@@ -2503,12 +2500,10 @@ QString WatchModel::editorContents(const QModelIndexList &list)
void WatchHandler::scheduleResetLocation()
{
m_model->m_contentsValid = false;
m_model->m_resetLocationScheduled = true;
}
void WatchHandler::resetLocation()
{
m_model->m_resetLocationScheduled = false;
}
void WatchHandler::setCurrentItem(const QString &iname)