Debugger: Fix using the same watcher number twice.

Counting the watcher number in a global scope, so they don't get
reinitialized incorrectly with a new engine.

Change-Id: Ifd9efb320e2c0f20b2e2845348a98961f72bf28c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
David Schulz
2015-03-16 09:10:36 +01:00
committed by hjk
parent 9f545843d3
commit 467c441c93
2 changed files with 5 additions and 7 deletions

View File

@@ -257,8 +257,6 @@ private:
DebuggerEngine *m_engine; // Not owned.
SeparatedView *m_separatedView; // Owned.
int m_watcherCounter;
bool m_contentsValid;
bool m_resetLocationScheduled;
};