Browse Source

- Same as last commit but for gnome looks

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
a5dac03956
  1. 2
      src/qgnomelook.h

2
src/qgnomelook.h

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

Loading…
Cancel
Save