From: Kevin Ottens Date: Thu, 23 Jul 2020 16:48:59 +0000 (+0200) Subject: Branded clients have more size variety for their icons X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~45^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=16a37c6aa09c3f26d1370bc34c174fb654206235;p=nextcloud-desktop.git Branded clients have more size variety for their icons Signed-off-by: Kevin Ottens --- diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index d475b5b56..8274e1580 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -144,7 +144,8 @@ QIcon Theme::themeIcon(const QString &name, bool sysTray) const return cached = QIcon::fromTheme(name); } - const auto sizes = QVector{ 16, 32, 64, 128, 256 }; + const auto sizes = isBranded() ? QVector{ 16, 22, 32, 48, 64, 128, 256, 512, 1024 } + : QVector{ 16, 32, 64, 128, 256 }; for (int size : sizes) { QString svgName = QString::fromLatin1(":/client/theme/%1/%2.svg").arg(flavor).arg(name); QSvgRenderer renderer(svgName);