[Pkg-owncloud-commits] [owncloud-client] 08/27: FolderStatusDelegate: Add margin to button #3650
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Aug 28 09:43:43 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 791c550a8ea501f85361056f1247810611a9530e
Author: Christian Kamm <mail at ckamm.de>
Date: Wed Aug 19 16:15:30 2015 +0200
FolderStatusDelegate: Add margin to button #3650
---
src/gui/folderstatusdelegate.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp
index b1b787e..97b66eb 100644
--- a/src/gui/folderstatusdelegate.cpp
+++ b/src/gui/folderstatusdelegate.cpp
@@ -101,6 +101,7 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
opt.state |= QStyle::State_Raised;
opt.text = addFolderText();
opt.rect.setWidth(qMin(opt.rect.width(), hint.width()));
+ opt.rect.translate(0, 10);
QApplication::style()->drawControl(QStyle::CE_PushButton, &opt, painter
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
, option.widget
--
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