Bug 335067

Summary: Unable to assign [undefined] to QString
Product: [Plasma] krunner Reporter: Elias Probst <mail>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: me
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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