Changeset View
Changeset View
Standalone View
Standalone View
kcms/colors/colors.cpp
Show First 20 Lines • Show All 450 Lines • ▼ Show 20 Line(s) | 448 | for (const QString &groupName : groupNameList) { | |||
---|---|---|---|---|---|
451 | 451 | | |||
452 | for (const QString &effect : effectList) { | 452 | for (const QString &effect : effectList) { | ||
453 | groupEffectOut.writeEntry(effect, groupEffectTheme.readEntry(effect)); | 453 | groupEffectOut.writeEntry(effect, groupEffectTheme.readEntry(effect)); | ||
454 | } | 454 | } | ||
455 | } | 455 | } | ||
456 | 456 | | |||
457 | m_config->sync(); | 457 | m_config->sync(); | ||
458 | 458 | | |||
459 | runRdb(KRdbExportQtColors | KRdbExportGtkTheme | KRdbExportGtkColors | (m_applyToAlien ? KRdbExportColors : 0)); | 459 | runRdb(KRdbExportQtColors | KRdbExportGtkTheme | (m_applyToAlien ? KRdbExportColors : 0)); | ||
460 | | ||||
461 | saveGtkColors(config); | | |||
462 | 460 | | |||
463 | QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KGlobalSettings"), | 461 | QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KGlobalSettings"), | ||
464 | QStringLiteral("org.kde.KGlobalSettings"), | 462 | QStringLiteral("org.kde.KGlobalSettings"), | ||
465 | QStringLiteral("notifyChange")); | 463 | QStringLiteral("notifyChange")); | ||
466 | message.setArguments({ | 464 | message.setArguments({ | ||
467 | 0, //previous KGlobalSettings::PaletteChanged. This is now private API in khintsettings | 465 | 0, //previous KGlobalSettings::PaletteChanged. This is now private API in khintsettings | ||
468 | 0 //unused in palette changed but needed for the DBus signature | 466 | 0 //unused in palette changed but needed for the DBus signature | ||
469 | }); | 467 | }); | ||
Show All 24 Lines |