Commit efa77501 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add tooltips to EnvironmentEditModel

Tasknumber: QTCREATORBUG-1188
parent 8f6be3c3
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment