debugger: suppress variable tooltips with outdated contents

This commit is contained in:
hjk
2010-09-15 19:02:12 +02:00
parent 2e02f4cb27
commit bd2d160a95
8 changed files with 37 additions and 12 deletions

View File

@@ -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);
}