Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-08-13 15:11:13 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-08-13 15:11:13 +0300
commitb75b5a5a0c6be185dfb694d909ca3c8291cc3023 (patch)
tree3c7d08c05115d964dbb0d88f65069cbf34fe1aa0 /src/gui/folderstatusdelegate.cpp
parentf32c8d0570a9f8a3a808f6a70d322d8c5333a3d5 (diff)
Account Settings: remove the down arrow in the 'more' button #3584
It's ugly on mac
Diffstat (limited to 'src/gui/folderstatusdelegate.cpp')
-rw-r--r--src/gui/folderstatusdelegate.cpp2
1 files changed, 2 insertions, 0 deletions
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 );
}