Load the theme resource explictly
authorKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 2 Feb 2021 16:02:02 +0000 (17:02 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 2 Feb 2021 17:33:45 +0000 (18:33 +0100)
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 <kevin.ottens@nextcloud.com>
src/gui/main.cpp

index c2478107d746f9bd47e3713fe268c3f7da6440c6..de7de845c438714263485c5468c5d7ea6c014814 100644 (file)
@@ -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