Commit 9f05f93c authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

explicitly set pen color before painting text

otherwise the colors may be off

BUG: 458274
parent da574827
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment