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
Utilities
Filelight
Commits
9f05f93c
Commit
9f05f93c
authored
Aug 25, 2022
by
Harald Sitter
🏳️🌈
Browse files
explicitly set pen color before painting text
otherwise the colors may be off
BUG: 458274
parent
da574827
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/radialMap/item.cpp
View file @
9f05f93c
...
...
@@ -511,6 +511,10 @@ void RadialMap::Item::paintExplodedLabels(QPainter &paint) const
paint
.
setFont
(
font
);
}
const
auto
scheme
=
QGuiApplication
::
palette
();
paint
.
setPen
(
scheme
.
color
(
QPalette
::
WindowText
));
paint
.
setBrush
(
scheme
.
color
(
QPalette
::
Window
));
QVector
<
Label
*>::
iterator
it
;
do
{
...
...
Harald Sitter
🏳️🌈
@sitter
mentioned in commit
d83ba0cf
·
Aug 25, 2022
mentioned in commit
d83ba0cf
mentioned in commit d83ba0cf2020a4ad324a0945a211ef07c25dc917
Toggle commit list
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