From 96589e0ce723849a90ad36d5f0b0bf10f1ff4cb6 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 24 Sep 2013 18:00:48 +0200 Subject: Debugger: Make tooltips in Stack view configurable Task-number: QTCREATORBUG-10194 Change-Id: If4a4580adbf50f4e00f78bae01999e275659f8e0 Reviewed-by: David Schulz --- src/plugins/debugger/stackhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/stackhandler.cpp') diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index f09060bd4e..984ea555a9 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -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(); -- cgit v1.2.1