Changeset View
Changeset View
Standalone View
Standalone View
kcms/colors/colors.cpp
Show First 20 Lines • Show All 338 Lines • ▼ Show 20 Line(s) | 336 | { | |||
---|---|---|---|---|---|
339 | group = KConfigGroup(&cfg, "X11"); | 339 | group = KConfigGroup(&cfg, "X11"); | ||
340 | m_applyToAlien = group.readEntry("exportKDEColors", true); | 340 | m_applyToAlien = group.readEntry("exportKDEColors", true); | ||
341 | } | 341 | } | ||
342 | } | 342 | } | ||
343 | 343 | | |||
344 | void KCMColors::save() | 344 | void KCMColors::save() | ||
345 | { | 345 | { | ||
346 | ManagedConfigModule::save(); | 346 | ManagedConfigModule::save(); | ||
347 | if (m_selectedSchemeDirty) { | 347 | if (m_selectedSchemeDirty || m_activeSchemeEdited) { | ||
348 | saveColors(); | 348 | saveColors(); | ||
349 | } | 349 | } | ||
350 | m_activeSchemeEdited = false; | 350 | m_activeSchemeEdited = false; | ||
351 | 351 | | |||
352 | processPendingDeletions(); | 352 | processPendingDeletions(); | ||
353 | } | 353 | } | ||
354 | 354 | | |||
355 | void KCMColors::saveColors() | 355 | void KCMColors::saveColors() | ||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |