https://bugs.kde.org/show_bug.cgi?id=362586

--- Comment #9 from Sebastian Kügler <se...@kde.org> ---
Git commit 5e55fd1e0e8aa8379d67101822b1ca8954d7f18f by Sebastian Kügler.
Committed on 06/05/2016 at 12:01.
Pushed by sebas into branch 'Plasma/5.6'.

validate the config before checking if it can be applied

Summary:
canBeApplied is public API, it shouldn't blow up when passed an invalid
config, but indicate (correctly!) that this "config" can't be applied.

This is called a bit carelessly from the kded daemon. I've fixed it
there as well, but it seems prudent to also make sure in libkscreen that
the user doesn't do stupid things.

Test Plan: autotests pass

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: graesslin, plasma-devel

Projects: #plasma

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

M  +3    -0    autotests/testscreenconfig.cpp
M  +4    -0    src/config.cpp

http://commits.kde.org/libkscreen/5e55fd1e0e8aa8379d67101822b1ca8954d7f18f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to