[Pkg-owncloud-commits] [owncloud-client] 61/120: Account Settings: remove the down arrow in the 'more' button #3584
Sandro Knauß
hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:45 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 b75b5a5a0c6be185dfb694d909ca3c8291cc3023
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Aug 13 14:11:13 2015 +0200
Account Settings: remove the down arrow in the 'more' button #3584
It's ugly on mac
---
src/gui/folderstatusdelegate.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp
index 001e9c0..7d739b0 100644
--- a/src/gui/folderstatusdelegate.cpp
+++ b/src/gui/folderstatusdelegate.cpp
@@ -330,6 +330,8 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
btnOpt.state = option.state;
btnOpt.state &= ~(QStyle::State_Selected | QStyle::State_HasFocus);
btnOpt.state |= QStyle::State_Raised;
+ btnOpt.arrowType = Qt::NoArrow;
+ btnOpt.subControls = QStyle::SC_ToolButton;
btnOpt.rect = optionsButtonRect(option.rect);
QApplication::style()->drawComplexControl( QStyle::CC_ToolButton, &btnOpt, 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