Review Request 122741: Prefer exposing lists to QML with QJsonArray

Aleix Pol Gonzalez aleixpol at kde.org
Mon Mar 2 23:38:26 UTC 2015



> On March 2, 2015, 10:30 p.m., Kai Uwe Broulik wrote:
> > That sounds like a bug in the qml engine to me: "The QML engine provides automatic type conversion between QVariantList and JavaScript arrays[…]" and I haven't seen any issues with the conversion. Did you try QStringList?

I didn't try. Is QStringList any better?


- Aleix


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122741/#review76927
-----------------------------------------------------------


On March 2, 2015, 7:14 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122741/
> -----------------------------------------------------------
> 
> (Updated March 2, 2015, 7:14 p.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: kdeclarative
> 
> 
> Description
> -------
> 
> QVariantList are treated as objects with integer indexes for some reasons and leads to weird scenarios.
> 
> 
> Diffs
> -----
> 
>   src/qmlcontrols/draganddrop/DeclarativeMimeData.h 4a0723b 
>   src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp 0db74f9 
> 
> Diff: https://git.reviewboard.kde.org/r/122741/diff/
> 
> 
> Testing
> -------
> 
> QuickShare plasmoid can use now DeclarativeMimeData.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150302/82d6b82b/attachment.html>


More information about the Plasma-devel mailing list