mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
- Same as last commit but for gnome looks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user