From efa775017a3a47fcd856867772206a3f3bad121c Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@nokia.com> Date: Thu, 22 Apr 2010 10:59:19 +0200 Subject: [PATCH] Add tooltips to EnvironmentEditModel Tasknumber: QTCREATORBUG-1188 --- src/plugins/projectexplorer/environmenteditmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/environmenteditmodel.cpp b/src/plugins/projectexplorer/environmenteditmodel.cpp index eb177b63a2a..f516b408109 100644 --- a/src/plugins/projectexplorer/environmenteditmodel.cpp +++ b/src/plugins/projectexplorer/environmenteditmodel.cpp @@ -105,7 +105,7 @@ QVariant EnvironmentModel::data(const QModelIndex &index, int role) const if (!index.isValid()) return QVariant(); - if (role == Qt::DisplayRole || role == Qt::EditRole) { + if (role == Qt::DisplayRole || role == Qt::EditRole || role == Qt::ToolTipRole) { if (index.column() == 0) { return m_resultEnvironment.key(m_resultEnvironment.constBegin() + index.row()); } else if (index.column() == 1) { -- GitLab