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
402c6cc7
Commit
402c6cc7
authored
Jan 21, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Jan 21, 2021
Browse files
Make sure alpha colors are respected
parent
45b950d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/search/plugin_search.cpp
View file @
402c6cc7
...
@@ -191,7 +191,7 @@ Results::Results(QWidget *parent)
...
@@ -191,7 +191,7 @@ Results::Results(QWidget *parent)
pal
.
setColor
(
QPalette
::
Base
,
bg
);
pal
.
setColor
(
QPalette
::
Base
,
bg
);
pal
.
setColor
(
QPalette
::
Highlight
,
hl
);
pal
.
setColor
(
QPalette
::
Highlight
,
hl
);
pal
.
setColor
(
QPalette
::
Text
,
fg
);
pal
.
setColor
(
QPalette
::
Text
,
fg
);
matchModel
.
setMatchColors
(
fg
.
name
(
),
search
.
name
(
),
replace
.
name
());
matchModel
.
setMatchColors
(
fg
.
name
(
QColor
::
HexArgb
),
search
.
name
(
QColor
::
HexArgb
),
replace
.
name
(
QColor
::
HexArgb
));
treeView
->
setPalette
(
pal
);
treeView
->
setPalette
(
pal
);
emit
colorsChanged
();
emit
colorsChanged
();
...
...
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