diff options
author | hjk <qtc-committer@nokia.com> | 2010-09-15 19:02:12 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-09-15 19:02:35 +0200 |
commit | bd2d160a9506c41cb861e560c4f8e648aefcad4c (patch) | |
tree | 111ec291741da3620ff137886fc85e97dd939b60 /src/plugins/debugger/stackhandler.cpp | |
parent | 2e02f4cb271e13ec72af1317c9246d3c71d617fb (diff) | |
download | qt-creator-bd2d160a9506c41cb861e560c4f8e648aefcad4c.tar.gz |
debugger: suppress variable tooltips with outdated contents
Diffstat (limited to 'src/plugins/debugger/stackhandler.cpp')
-rw-r--r-- | src/plugins/debugger/stackhandler.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index dbf9deee52..d7e995f083 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -140,8 +140,9 @@ QVariant StackHandler::data(const QModelIndex &index, int role) const bool StackHandler::setData(const QModelIndex &index, const QVariant &value, int role) { switch (role) { + case RequestReloadFullStackRole: case RequestActivateFrameRole: - m_engine->activateFrame(value.toInt()); + m_engine->handleCommand(role, value); return true; case RequestShowMemoryRole: @@ -154,10 +155,6 @@ bool StackHandler::setData(const QModelIndex &index, const QVariant &value, int return true; } - case RequestReloadFullStackRole: - m_engine->reloadFullStack(); - return true; - default: return QAbstractTableModel::setData(index, value, role); } |