mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
Krita: remove theme manager
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user