Commit 60526393 authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

TargetSelector: Don't set the pen twice to the same color

Change-Id: I1d383193057968a8e27491b3bf94cd52ccbd0fca
Reviewed-by: default avatarEike Ziller <>
parent 9e92dcee
......@@ -274,7 +274,6 @@ void TargetSelector::paintEvent(QPaintEvent *event)
int margin = 2; // position centered within the rounded buttons
QFontMetrics fm = fontMetrics();
QRect textRect(x + margin, size.height() - fm.height() - 7, targetWidth()/2, fm.height());
p.setPen(buildSelected ? Qt::black : Qt::white);
if (index != m_currentTargetIndex)
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