Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
016eb232
Commit
016eb232
authored
Feb 22, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Feb 24, 2021
Browse files
Remove icons from status tree root nodes
parent
d8537367
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitstatusmodel.cpp
View file @
016eb232
...
...
@@ -97,9 +97,6 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const
QFont
bold
;
bold
.
setBold
(
true
);
return
bold
;
}
else
if
(
role
==
Qt
::
DecorationRole
)
{
static
const
auto
branchIcon
=
QIcon
(
QStringLiteral
(
":/icons/icons/sc-apps-git.svg"
));
return
branchIcon
;
}
else
if
(
role
==
Role
::
TreeItemType
)
{
return
NodeStage
+
row
;
}
else
if
(
role
==
Qt
::
TextAlignmentRole
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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