From b75b5a5a0c6be185dfb694d909ca3c8291cc3023 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 13 Aug 2015 14:11:13 +0200 Subject: [PATCH] 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 001e9c09b..7d739b01a 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 ); } -- 2.30.2