Debugger: Use thread id, not model row to remember current thread

Task-number: QTCREATORBUG-9207
Change-Id: Ic98fb9a99c250dccf2735f28d0d3fefa7d1da52f
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-11-14 13:24:02 +01:00
parent 7f6c793f75
commit fefbc172f2
4 changed files with 55 additions and 44 deletions

View File

@@ -52,6 +52,7 @@ public:
bool isValid() const { return m_id != -1; }
qint64 raw() const { return m_id; }
bool operator==(const ThreadId other) const { return m_id == other.m_id; }
bool operator!=(const ThreadId other) const { return m_id != other.m_id; }
private:
qint64 m_id;