<div>sebas created this revision.<br />
sebas added a reviewer: Plasma.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>canBeApplied is public API, it shouldn't blow up when passed an invalid<br />
config, but indicate (correctly!) that this "config" can't be applied.</p>
<p>This is called a bit carelessly from the kded daemon. I've fixed it<br />
there as well, but it seems prudent to also make sure in libkscreen that<br />
the user doesn't do stupid things.</p>
<p>CCBUG:362586</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>autotests pass</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rLIBKSCREEN KScreen Library</div></div></div><br /><div><strong>BRANCH</strong><div><div>sebas/guardcanbeapplied</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1532" rel="noreferrer">https://phabricator.kde.org/D1532</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/config.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>sebas, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>