Debugger: Make tooltips in Stack view configurable

Task-number: QTCREATORBUG-10194
Change-Id: If4a4580adbf50f4e00f78bae01999e275659f8e0
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2013-09-24 18:00:48 +02:00
parent 9bf1be7f22
commit 96589e0ce7
4 changed files with 13 additions and 1 deletions

View File

@@ -122,7 +122,7 @@ QVariant StackHandler::data(const QModelIndex &index, int role) const
? m_positionIcon : m_emptyIcon;
}
if (role == Qt::ToolTipRole)
if (role == Qt::ToolTipRole && debuggerCore()->boolSetting(UseToolTipsInStackView))
return frame.toToolTip();
return QVariant();