Fix incorrect colorscheme on startup

This commit is contained in:
Bart De Vries 2024-02-14 11:00:33 +01:00
parent 8ab8087fe1
commit 614782c35c
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ int main(int argc, char *argv[])
qmlRegisterSingletonInstance("org.kde.kasts.settings", 1, 0, "SettingsManager", SettingsManager::self()); qmlRegisterSingletonInstance("org.kde.kasts.settings", 1, 0, "SettingsManager", SettingsManager::self());
if (SettingsManager::self()->colorScheme().isEmpty()) { if (!SettingsManager::self()->colorScheme().isEmpty()) {
ColorSchemer::instance().apply(SettingsManager::self()->colorScheme()); ColorSchemer::instance().apply(SettingsManager::self()->colorScheme());
} }