debugger: grey out Locals&Expressions when not accessible

Change-Id: I61489b9a5bf117be154ed6899beb3f8294247c9e
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-17 18:44:02 +01:00
committed by hjk
parent ad5c0edd33
commit 183769e7ef
4 changed files with 37 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ Qt::ItemFlags StackHandler::flags(const QModelIndex &index) const
const bool isValid = frame.isUsable()
|| debuggerCore()->boolSetting(OperateByInstruction);
return isValid && m_contentsValid
? QAbstractTableModel::flags(index) : Qt::ItemFlags(0);
? QAbstractTableModel::flags(index) : Qt::ItemFlags();
}
StackFrame StackHandler::currentFrame() const