Bug 335067 - Unable to assign [undefined] to QString
Summary: Unable to assign [undefined] to QString
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 09:20 UTC by Elias Probst
Modified: 2014-05-23 15:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2014-05-20 09:20:14 UTC
Typing something in krunner repeatedly shows these two messages in its log output:

file:///usr/lib64/qml/org/kde/milou/ResultDelegate.qml:72:16: Unable to assign [undefined] to QString
file:///usr/lib64/qml/org/kde/milou/ResultDelegate.qml:111:19: Unable to assign [undefined] to QString

Running latest KF5/PlasmaNext from git.
Comment 1 Elias Probst 2014-05-20 09:21:55 UTC
Just noticed, this should be actually reported against Milou, but I can't reassign since there's no Milou product yet.

@vHanda: That's something for you, right?
Comment 2 Vishesh Handa 2014-05-23 15:11:00 UTC
Git commit c500e2d3962c950b88854dd1fad51858ea0a1557 by Vishesh Handa.
Committed on 23/05/2014 at 15:17.
Pushed by vhanda into branch 'frameworks'.

ResultDelegate: Always convert the text into strings

Otherwise we get errors where undefined cannot be assinged to a QString
because QML is stupid and does not autoconvert it. Or maybe not, and I
cannot figure out what is going on.

M  +2    -7    lib/qml/ResultDelegate.qml

http://commits.kde.org/milou/c500e2d3962c950b88854dd1fad51858ea0a1557