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
f608f65b
Commit
f608f65b
authored
Feb 25, 2021
by
Waqar Ahmed
Browse files
Use Breeze fg-negative/positive in git-status-view
Signed-off-by:
Waqar Ahmed
<
waqar.17a@gmail.com
>
parent
32b591c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitstatusmodel.cpp
View file @
f608f65b
...
...
@@ -139,9 +139,9 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const
}
}
else
if
(
role
==
Qt
::
ForegroundRole
)
{
if
(
index
.
column
()
==
1
&&
rootIndex
>
0
)
{
return
QColor
(
Qt
::
red
);
return
QColor
(
218
,
68
,
83
);
// Breeze Fg Negative
}
else
if
(
index
.
column
()
==
1
&&
rootIndex
==
0
)
{
return
QColor
(
Qt
::
green
);
return
QColor
(
39
,
174
,
96
);
// Breeze Fg Positive
}
}
}
...
...
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