From df538fac8904bfe936f9c68f01a154041cd700d9 Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Mon, 12 Jan 2026 19:04:31 +0100 Subject: [PATCH] Initialize the theme infrastructure in YACReaderLibrary --- YACReaderLibrary/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/YACReaderLibrary/main.cpp b/YACReaderLibrary/main.cpp index 1697e0ae..d7c35788 100644 --- a/YACReaderLibrary/main.cpp +++ b/YACReaderLibrary/main.cpp @@ -21,6 +21,7 @@ #include "db_helper.h" #include "yacreader_libraries.h" #include "exit_check.h" +#include "theme_manager.h" #ifdef Q_OS_MACOS #include "trayhandler.h" #endif @@ -140,6 +141,9 @@ int main(int argc, char **argv) app.setOrganizationName("YACReader"); app.setApplicationVersion(VERSION); + // Theme initialization + ThemeManager::instance().initialize(); + // Set window icon according to Freedesktop icon specification // This is mostly relevant for Linux and other Unix systems if (QIcon::hasThemeIcon("YACReaderLibrary")) {