Commit graph

7 commits

Author SHA1 Message Date
Ivailo Monev
ae44d30664 kcontrol: do not write Katie config
Katie no longer reads config file for that

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-03 11:12:15 +03:00
Ivailo Monev
e4dfd5c4a5 generic: apply effect settings from the platform plugin instead of writing to the Katie config
the idea being to not write anything into the Katie config and possibly
even drop support for overriding Katie settings from config.

on a side note font and palette settings are wrapped via classes
(KGlobalSettings and KColorScheme) and hard-wired to configs rather than
being a runtime thing (e.g. getting the font to use for menus via
QApplication::font("QMenu") instead of KGlobalSettings::menuFont()) so lots
to do on that, as for how it will benefit Katana and Katie - less config
parsing possibly, QPalette objects are shared data for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-21 22:21:25 +03:00
Ivailo Monev
133a1e3e9b kcontrol: remove now unused applyQtColors() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-21 21:40:24 +03:00
Ivailo Monev
f298066b23 kcontrol: do not write palette to the Katie config from krdb
palette is to be set by the platform plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-21 20:37:49 +03:00
Ivailo Monev
5d34b9cfcb generic: make use of the new KDE_DEFAULT_CURSOR_THEME definition
requires d278c3c63c26aa0b0f63d630d27c210213015f1a from kdelibs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-15 02:43:30 +03:00
Ivailo Monev
dbfb4586ec generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 01:33:34 +03:00
Ivailo Monev
850c98cc3d kcontrol: convert krdb to standalone program
fixes some race-conditions, for reference:
9ed7286504

also the exit() call in case of failure to open the temporary file would
exit the program calling runRdb() (systemsettings for example) with
status 0 (normal, when an error ocurred), that is no longer the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-24 08:04:16 +03:00