From be353f7d9eb8fecbaf10dfd0bbebca34032aadd1 Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Wed, 14 Feb 2024 11:00:33 +0100 Subject: [PATCH] Fix incorrect colorscheme on startup --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e6ce8401..cbb852dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) qmlRegisterSingletonInstance("org.kde.kasts", 1, 0, "Sync", &Sync::instance()); qmlRegisterSingletonInstance("org.kde.kasts", 1, 0, "SystrayIcon", &SystrayIcon::instance()); qmlRegisterSingletonInstance("org.kde.kasts", 1, 0, "ColorSchemer", &ColorSchemer::instance()); - if (SettingsManager::self()->colorScheme().isEmpty()) { + if (!SettingsManager::self()->colorScheme().isEmpty()) { ColorSchemer::instance().apply(SettingsManager::self()->colorScheme()); }