summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/stackhandler.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-09-15 19:02:12 +0200
committerhjk <qtc-committer@nokia.com>2010-09-15 19:02:35 +0200
commitbd2d160a9506c41cb861e560c4f8e648aefcad4c (patch)
tree111ec291741da3620ff137886fc85e97dd939b60 /src/plugins/debugger/stackhandler.cpp
parent2e02f4cb271e13ec72af1317c9246d3c71d617fb (diff)
downloadqt-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.cpp7
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);
}