projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f32c8d0
)
Account Settings: remove the down arrow in the 'more' button #3584
author
Olivier Goffart
<ogoffart@woboq.com>
Thu, 13 Aug 2015 12:11:13 +0000
(14:11 +0200)
committer
Olivier Goffart
<ogoffart@woboq.com>
Thu, 13 Aug 2015 12:11:13 +0000
(14:11 +0200)
It's ugly on mac
src/gui/folderstatusdelegate.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderstatusdelegate.cpp
b/src/gui/folderstatusdelegate.cpp
index 001e9c09b2571556e2cdadc1e01dd26b56242dd4..7d739b01a9d8be0aa9bd7b7328dcfd62b0aa2cf4 100644
(file)
--- 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 );
}