From: Kevin Ottens Date: Tue, 2 Feb 2021 16:02:02 +0000 (+0100) Subject: Load the theme resource explictly X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~381^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=55fd0562dee45a08498c3b507270ef96365bb363;p=nextcloud-desktop.git Load the theme resource explictly Otherwise they won't be loaded automatically at startup leading to lots of missing icons. Since they're now in a static library they need that explicit loading. Signed-off-by: Kevin Ottens --- diff --git a/src/gui/main.cpp b/src/gui/main.cpp index c2478107d..de7de845c 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -52,6 +52,7 @@ void warnSystray() int main(int argc, char **argv) { Q_INIT_RESOURCE(resources); + Q_INIT_RESOURCE(theme); // Work around a bug in KDE's qqc2-desktop-style which breaks // buttons with icons not based on a name, by forcing a style name