diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-08-06 21:23:23 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-08-10 10:55:31 +0300 |
commit | 55e55b0806d7084ceca88c8f16465966972bedca (patch) | |
tree | 78f6cdd32d90cbc04eecce6bcd6eda640a7f651e /src/gui/folderstatusdelegate.cpp | |
parent | 4441d3b342073bed9d2eba1f8de86db1de7611d2 (diff) |
Windows: Fix the progress bar with high contrast themes #2654
Setting the palette seems to interfere with Qt's Windows Vista theme
and this isn't set on the QStyleOptionProgressBarV2 by QProgressBar.
Diffstat (limited to 'src/gui/folderstatusdelegate.cpp')
-rw-r--r-- | src/gui/folderstatusdelegate.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp index 6c2ab443f..5e303f036 100644 --- a/src/gui/folderstatusdelegate.cpp +++ b/src/gui/folderstatusdelegate.cpp @@ -294,7 +294,6 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem & pBarOpt.maximum = 100; pBarOpt.progress = overallPercent; pBarOpt.orientation = Qt::Horizontal; - pBarOpt.palette = palette; pBarOpt.rect = pBRect; QApplication::style()->drawControl( QStyle::CE_ProgressBar, &pBarOpt, painter ); |