Fix incorrect text color in project settings tabs

Non selected tabs could end up with the wrong text
color depending on different states.
This commit is contained in:
Jens Bache-Wiig
2010-05-07 14:12:55 +02:00
parent 0dad7cb231
commit 5406f3e7ca

View File

@@ -219,6 +219,8 @@ void TargetSelector::paintEvent(QPaintEvent *event)
} else { } else {
image= m_runselected; image= m_runselected;
} }
} else {
p.setPen(Qt::black);
} }
QRect buttonRect(x, 1, targetWidth() , image.height()); QRect buttonRect(x, 1, targetWidth() , image.height());