ervin created this revision. ervin added reviewers: Plasma, mart. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. ervin requested review of this revision.
REVISION SUMMARY This simplifies quite a bit the logic, we don't need to do the bookkeeping ourselves anymore. Only missing would be a "isDirty" flag on the settings object which explains the m_currentTheme member variable which is still around to have something to compare against in updateNeedsSave(). REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24394 AFFECTED FILES kcms/desktoptheme/kcm.cpp kcms/desktoptheme/kcm.h kcms/desktoptheme/package/contents/ui/main.qml To: ervin, #plasma, mart Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart