From 55fd0562dee45a08498c3b507270ef96365bb363 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Tue, 2 Feb 2021 17:02:02 +0100 Subject: [PATCH] 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 --- src/gui/main.cpp | 1 + 1 file changed, 1 insertion(+) 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