Commit 23aeddc9 authored by Mikhail Zolotukhin's avatar Mikhail Zolotukhin

[KRDB] Remove GTK3 color export

Summary: This will be moved to kde-gtk-config module, once ready.

Reviewers: cblack, #plasma

Reviewed By: cblack

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28070
parent 6df845ee
......@@ -456,9 +456,7 @@ void KCMColors::saveColors()
m_config->sync();
runRdb(KRdbExportQtColors | KRdbExportGtkTheme | KRdbExportGtkColors | (m_applyToAlien ? KRdbExportColors : 0));
saveGtkColors(config);
runRdb(KRdbExportQtColors | KRdbExportGtkTheme | (m_applyToAlien ? KRdbExportColors : 0));
QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KGlobalSettings"),
QStringLiteral("org.kde.KGlobalSettings"),
......
This diff is collapsed.
......@@ -28,11 +28,8 @@ enum KRdbAction
KRdbExportQtSettings = 0x0004, // Export all possible qtrc settings, excluding colors
KRdbExportXftSettings = 0x0008, // Export KDE's Xft (anti-alias) settings
KRdbExportGtkTheme = 0x0010, // Export KDE's widget style to Gtk if possible
KRdbExportGtkColors = 0x0020 // Export KDE's colors to Gtk if possible
};
void runRdb( uint flags );
void saveGtkColors();
void saveGtkColors(KSharedConfigPtr& config);
#endif
......@@ -64,7 +64,7 @@ extern "C"
{
Q_DECL_EXPORT void kcminit_style()
{
uint flags = KRdbExportQtSettings | KRdbExportGtkColors | KRdbExportQtColors | KRdbExportXftSettings | KRdbExportGtkTheme;
uint flags = KRdbExportQtSettings | KRdbExportQtColors | KRdbExportXftSettings | KRdbExportGtkTheme;
KConfig _config( QStringLiteral("kcmdisplayrc"), KConfig::NoGlobals );
KConfigGroup config(&_config, "X11");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment