Changeset View
Changeset View
Standalone View
Standalone View
kcms/colors/editor/scmeditoroptions.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | void SchemeEditorOptions::on_useInactiveEffects_stateChanged(int state) | 75 | void SchemeEditorOptions::on_useInactiveEffects_stateChanged(int state) | ||
76 | { | 76 | { | ||
77 | KConfigGroup group(m_config, "ColorEffects:Inactive"); | 77 | KConfigGroup group(m_config, "ColorEffects:Inactive"); | ||
78 | group.writeEntry("Enable", bool(state != Qt::Unchecked)); | 78 | group.writeEntry("Enable", bool(state != Qt::Unchecked)); | ||
79 | 79 | | |||
80 | m_disableUpdates = true; | 80 | m_disableUpdates = true; | ||
81 | printf("re-init\n"); | | |||
82 | inactiveSelectionEffect->setChecked(group.readEntry("ChangeSelectionColor", bool(state != Qt::Unchecked))); | 81 | inactiveSelectionEffect->setChecked(group.readEntry("ChangeSelectionColor", bool(state != Qt::Unchecked))); | ||
83 | m_disableUpdates = false; | 82 | m_disableUpdates = false; | ||
84 | 83 | | |||
85 | emit changed(true); | 84 | emit changed(true); | ||
86 | } | 85 | } | ||
87 | 86 | | |||
88 | void SchemeEditorOptions::on_inactiveSelectionEffect_stateChanged(int state) | 87 | void SchemeEditorOptions::on_inactiveSelectionEffect_stateChanged(int state) | ||
89 | { | 88 | { | ||
Show All 11 Lines |