hjk
2009-09-23 16:11:25 +02:00
parent b65bbff491
commit 46952c04eb
6 changed files with 34 additions and 10 deletions

View File

@@ -702,7 +702,8 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
}
case Qt::ToolTipRole:
return data.toToolTip();
return theDebuggerBoolSetting(UseToolTipsInLocalsView)
? data.toToolTip() : QVariant();
case Qt::ForegroundRole: {
static const QVariant red(QColor(200, 0, 0));