projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0521dce
)
Load the theme resource explictly
author
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 2 Feb 2021 16:02:02 +0000
(17:02 +0100)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/src/gui/main.cpp
b/src/gui/main.cpp
index c2478107d746f9bd47e3713fe268c3f7da6440c6..de7de845c438714263485c5468c5d7ea6c014814 100644
(file)
--- 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