Check the background is valid when choosing background type

Authored by davidedmundson on Feb 14 2017, 4:46 PM.

Description

Check the background is valid when choosing background type

Summary:
I rushed in an emergency fix for 5.9.1 that added support for setting
the background type, which was a new property someone added to the
breeze theme in 5.9.1.

My last patch doesn't support clearing the background properly.
Effectively the old code would always set the type to "image".

BUG: 376484

Test Plan:
Set background to image. Checked config
Cleared background. Checked config

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonFeb 14 2017, 5:01 PM
Differential Revision
D4611: Check the background is valid when choosing background type
Parents
R123:0022af98e086: Update version number for 5.9.2 GIT_SILENT
Branches
Unknown
Tags
Unknown
References
tag: v5.9.2