[Colors KCM] Correctly report whether saving is needed

Authored by davidre on Wed, Jan 8, 3:48 PM.

Description

[Colors KCM] Correctly report whether saving is needed

Summary:
Previously the kcm always reported that a save is needed once a scheme had been
marked for deletion. The correct way is to check if there are schemes that are
currently marked for deletion. Also we don't need the firstTime workaround.

Test Plan: Mark a scheme for deletion and undo that action

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D26526

Details