#6514 Dark Theme : Use text color from theme instead from QPalette

This commit is contained in:
Magne Sjaastad
2020-09-16 14:32:48 +02:00
committed by Gaute Lindkvist
parent 2cfa900041
commit ea7da32141
6 changed files with 14 additions and 21 deletions

View File

@@ -158,7 +158,7 @@ void RiuQwtSymbol::renderSymbolLabel( QPainter* painter, const QPointF& position
QFont font = painter->font();
font.setPixelSize( m_labelFontSizePx );
painter->setFont( font );
painter->setPen( RiaColorTools::systemPaletteTextColor() );
painter->setPen( RiaColorTools::textColor() );
QSize symbolSize = QwtSymbol::size();
QRect symbolRect( position.x(), position.y(), symbolSize.width(), symbolSize.height() );