[Pkg-owncloud-commits] [owncloud-client] 234/332: fixed bug where the overall text caused in the folder view the to defrom

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:04 UTC 2014


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 0f7efbc22e02166c5044871a661309bb9ce6fb81
Author: Eran <etherpulse at gmail.com>
Date:   Wed Jul 23 13:52:02 2014 +0300

    fixed bug where the  overall text  caused in the folder view the to defrom
---
 src/mirall/folderstatusmodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/folderstatusmodel.cpp b/src/mirall/folderstatusmodel.cpp
index b94239a..881e174 100644
--- a/src/mirall/folderstatusmodel.cpp
+++ b/src/mirall/folderstatusmodel.cpp
@@ -254,7 +254,7 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
       painter->save();
 
       // Sizes-Text
-      QRect octetRect = progressFm.boundingRect( overallString );
+      QRect octetRect = progressFm.boundingRect(QRect(0,0,0,0), 0, overallString );
       int progressTextWidth = octetRect.width() + 2;
 
       // Overall Progress Bar.

-- 
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