Krita: remove theme manager

This commit is contained in:
Gerasim Troeglazov
2021-01-01 16:02:11 +10:00
parent 878d9a1ae2
commit 59f1010edd
2 changed files with 28 additions and 2 deletions

View File

@@ -268,7 +268,7 @@ index 7bfed5e..13b870b 100644
2.28.0
From d6667313dd80d260aa0142499e13fbf65c3b857e Mon Sep 17 00:00:00 2001
From 1c412325b11889fa93a3b8d364656c31aee8ed3a Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 31 Dec 2020 14:20:31 +1000
Subject: Use system colors
@@ -342,3 +342,29 @@ index e1991b2..e72cbaa 100644
--
2.28.0
From 8944454db697fb827f71de99b80960a304408c92 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 1 Jan 2021 15:59:26 +1000
Subject: Remove themeManager
diff --git a/libs/ui/KisApplication.cpp b/libs/ui/KisApplication.cpp
index 13b870b..568a125 100644
--- a/libs/ui/KisApplication.cpp
+++ b/libs/ui/KisApplication.cpp
@@ -406,9 +406,10 @@ bool KisApplication::start(const KisApplicationArguments &args)
KoHashGeneratorProvider::instance()->setGenerator("MD5", new KisMD5Generator());
KConfigGroup group(KSharedConfig::openConfig(), "theme");
+#ifndef Q_OS_HAIKU
Digikam::ThemeManager themeManager;
themeManager.setCurrentTheme(group.readEntry("Theme", "Krita dark"));
-
+#endif
ResetStarting resetStarting(d->splashScreen, args.filenames().count()); // remove the splash when done
Q_UNUSED(resetStarting);
--
2.28.0