summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/threaddata.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-11-14 13:24:02 +0100
committerhjk <hjk121@nokiamail.com>2013-11-17 22:55:22 +0100
commitfefbc172f2a6a0ae6b7ee510cd5770533636f28d (patch)
treed95b05a222d148c711f4f040e1d1d1e5bb8c90b9 /src/plugins/debugger/threaddata.h
parent7f6c793f756042b801aba321dcfc946560a4700a (diff)
downloadqt-creator-fefbc172f2a6a0ae6b7ee510cd5770533636f28d.tar.gz
Debugger: Use thread id, not model row to remember current thread
Task-number: QTCREATORBUG-9207 Change-Id: Ic98fb9a99c250dccf2735f28d0d3fefa7d1da52f Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/threaddata.h')
-rw-r--r--src/plugins/debugger/threaddata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/threaddata.h b/src/plugins/debugger/threaddata.h
index 15927dc174..5362cad03b 100644
--- a/src/plugins/debugger/threaddata.h
+++ b/src/plugins/debugger/threaddata.h
@@ -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;