Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
efa77501
Commit
efa77501
authored
Apr 22, 2010
by
Tobias Hunger
Browse files
Add tooltips to EnvironmentEditModel
Tasknumber: QTCREATORBUG-1188
parent
8f6be3c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/environmenteditmodel.cpp
View file @
efa77501
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment