Skip to content
Commit 0254bb3c authored by David Edmundson's avatar David Edmundson
Browse files

Return valid string value for DescriptionRole in all models

Summary:
A qml binding converting an empty QVariant to a string value will result
in a warning:
Unable to assign [undefined] to QString

Which is apparently happening to this bug reporter, but not for other
roles.

Grepping all models shows 2 code paths where this could happen.

BUG: 369783

Test Plan:
Kickoff/Kicker still open
Couldn't reproduce the original bug.

Reviewers: #plasma, hein

Reviewed By: #plasma, hein

Subscribers: hein, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4033
parent 17a706a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment