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.
Details
Details
- Reviewers
mart davidedmundson - Group Reviewers
Plasma - Commits
- R119:50b1acf4016a: [Splash Screen KCM] Fix "no thumbnail" icon for "None"
5.13
"None" has the "no thumbnail available" icon now
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Lint Skipped - Unit
Unit Tests Skipped