Files
haikuports/kde-apps/kcharselect/patches/kcharselect-25.12.0.patchset
Schrijvers Luc 1b11687d48 KDE_utilities, bump to 25.12.0 (#13471)
bump kwrite to 25.08.3
2025-12-23 08:00:33 +01:00

27 lines
938 B
Plaintext

From 0298d5d71977b11659e359195a3aedd8d4a16332 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Mon, 15 Dec 2025 11:35:46 +0100
Subject: Use system color_theme
diff --git a/kcharselectdia.cc b/kcharselectdia.cc
index 763a299..32fc4df 100644
--- a/kcharselectdia.cc
+++ b/kcharselectdia.cc
@@ -172,10 +172,12 @@ KCharSelectDia::KCharSelectDia(QWidget *parent)
lined->setAlignment(Qt::AlignLeft);
// Load themes
+#ifndef Q_OS_HAIKU
KColorSchemeManager *manager = KColorSchemeManager::instance();
auto *colorSelectionMenu = KColorSchemeMenu::createMenu(manager, this);
colorSelectionMenu->menu()->setTitle(i18n("&Window Color Scheme"));
actionCollection()->addAction(u"colorscheme_menu"_s, colorSelectionMenu);
+#endif
QString filename = QStandardPaths::locate(QStandardPaths::GenericDataLocation, u"kcharselect/bookmarks.xml"_s);
if (filename.isEmpty()) {
--
2.51.0