- COSMETIC: Use more skin colors instead of hard coded ones

This commit is contained in:
Christophe Dumez
2007-11-24 23:50:27 +00:00
parent 4ba2c3d385
commit 48aac758c9
4 changed files with 4 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ class QGnomeLookStyle : public QCleanlooksStyle {
vertical = (pb2->orientation == Qt::Vertical);
}
if (!vertical) {
QPalette::ColorRole textRole = QPalette::Dark;/*
QPalette::ColorRole textRole = QPalette::WindowText;/*
if ((pb->textAlignment & Qt::AlignCenter) && pb->textVisible
&& ((qint64(pb->progress) - qint64(pb->minimum)) * 2 >= (qint64(pb->maximum) - qint64(pb->minimum)))) {
textRole = QPalette::HighlightedText;