diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-04-19 11:27:37 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-06 14:55:34 +0300 |
commit | c4af4a5a855cf3ea12700781d1c95f281de6bd1a (patch) | |
tree | e693ae1ba46330e8c648908d1556b08ddc10ab6e /src/gui/shareusergroupwidget.cpp | |
parent | ad43d88fde5aa70d559bf0c5a3f019b3f3b4e0f4 (diff) |
More Button: Use SVG and fix size so it renders good in highdpi
When the more button was changed from using a text to an icon,
the size computation was not adjusted proerly to that of a button
with an icon.
And using svg allows it to be rendered correctly with high-dpi
It looks much much nicer now
Diffstat (limited to 'src/gui/shareusergroupwidget.cpp')
-rw-r--r-- | src/gui/shareusergroupwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp index 1bbaf2c69..69336f013 100644 --- a/src/gui/shareusergroupwidget.cpp +++ b/src/gui/shareusergroupwidget.cpp @@ -381,7 +381,7 @@ ShareUserLine::ShareUserLine(QSharedPointer<Share> share, _ui->permissionToolButton->setMenu(menu); _ui->permissionToolButton->setPopupMode(QToolButton::InstantPopup); - QIcon icon(QLatin1String(":/client/resources/more.png")); + QIcon icon(QLatin1String(":/client/resources/more.svg")); _ui->permissionToolButton->setIcon(icon); // If there's only a single entry in the detailed permission menu, hide it |