diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-06-22 19:30:26 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-06-28 15:04:08 +0300 |
commit | 025345351762602a435e58014650266674801ff3 (patch) | |
tree | f19764e85c247bf7739c982cd6fc8de16ed13b7e /src/gui/main.cpp | |
parent | 44a72a011342711d7b663fc8a0f9639485d6b591 (diff) |
Move resources to a shared libary
This allows us to use resources in the cmd app and the unit tests.
Fixes: #8839
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r-- | src/gui/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 0d6e19522..dec162d04 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -18,6 +18,7 @@ #include "common/utility.h" #include "guiutility.h" #include "platform.h" +#include "resources/loadresources.h" #include "theme.h" #include "updater/updater.h" @@ -41,8 +42,8 @@ void warnSystray() int main(int argc, char **argv) { - Q_INIT_RESOURCE(client); - + // load the resources + const OCC::ResourcesLoader resource; QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); // Create a `Platform` instance so it can set-up/tear-down stuff for us, and do any |