[Pkg-owncloud-commits] [owncloud-client] 15/120: Windows: Fix the progress bar with high contrast themes #2654

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 55e55b0806d7084ceca88c8f16465966972bedca
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Thu Aug 6 20:23:23 2015 +0200

    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.
---
 src/gui/folderstatusdelegate.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp
index 6c2ab44..5e303f0 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 );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list