From 1b04b5cfa37f3b2773a148aca887a6a174d347bd Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Mon, 12 Jan 2026 19:06:33 +0100 Subject: [PATCH] Initialize the theme infrastructure in YACReader --- YACReader/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/YACReader/main.cpp b/YACReader/main.cpp index cc757ce7..cb408d36 100644 --- a/YACReader/main.cpp +++ b/YACReader/main.cpp @@ -7,6 +7,7 @@ #include "main_window_viewer.h" #include "configuration.h" #include "exit_check.h" +#include "theme_manager.h" #include "QsLog.h" #include "QsLogDest.h" @@ -115,6 +116,8 @@ int main(int argc, char *argv[]) app.setApplicationName("YACReader"); app.setOrganizationName("YACReader"); + ThemeManager::instance().initialize(); + if (QIcon::hasThemeIcon("YACReader")) { app.setWindowIcon(QIcon::fromTheme("YACReader")); }