From 68f904fb5571d65c6a70fe235901c16f544f642e Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 2 Aug 2016 12:31:34 +0200 Subject: [PATCH] Debugger: Remove unused variable Change-Id: I14058602e0220295ad0e7e91d38d0b6ca83d7e22 Reviewed-by: hjk --- src/plugins/debugger/watchhandler.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index d16a35f059b..8a7664c601f 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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)