https://bugs.kde.org/show_bug.cgi?id=384950

--- Comment #9 from Pulfer <pul...@list.ru> ---
(In reply to Martin Flöser from comment #8)
> (In reply to Pulfer from comment #7)
> > And it looks like only [WM] from ~/.config/kdeglobals is loaded. Even [WM]
> > colors from /etc/xdg/kdeglobals are ignored, not only from color scheme.
> 
> Given the code this is intended. It explicitly does not ask for cascading
> config.

Maybe there should be an exception for kdeglobals (as there are other hacks for
kdeglobals in the code)?

-    auto config = KSharedConfig::openConfig(m_colorScheme,
KConfig::SimpleConfig);
+    KConfig::OpenFlags openMode = KConfig::SimpleConfig;
+    if (m_colorScheme.endsWith(QStringLiteral("/kdeglobals")))
+        openMode = KConfig::FullConfig;
+
+    auto config = KSharedConfig::openConfig(m_colorScheme, openMode);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to