[Splash Screen KCM] Fix "no thumbnail" icon for "None"

Authored by broulik on Jul 3 2018, 2:40 PM.

Description

[Splash Screen KCM] Fix "no thumbnail" icon for "None"

In JavaScript undefined does not convert to empty string, so undefined != "" is always true.
The role isn't added to the QStandardItemModel for "None", so it is undefined (null QVariant) as far as QML is concerned.

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

Details

Committed
broulikJul 3 2018, 2:40 PM
Differential Revision
D13864: [Splash Screen KCM] Fix "no thumbnail" icon for "None"
Parents
R119:b93a3e3638e0: Merge branch 'Plasma/5.12' into Plasma/5.13
Branches
Unknown
Tags
Unknown