Review Request 122741: Prefer exposing lists to QML with QJsonArray

Kai Uwe Broulik kde at privat.broulik.de
Mon Mar 2 21:30:01 UTC 2015


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


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?

- Kai Uwe Broulik


On März 2, 2015, 6:14 nachm., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122741/
> -----------------------------------------------------------
> 
> (Updated März 2, 2015, 6:14 nachm.)
> 
> 
> 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/kde-frameworks-devel/attachments/20150302/b01416af/attachment.html>


More information about the Kde-frameworks-devel mailing list