Review Request 124158: Simplify Device::id management
Albert Vaca Cintora
albertvaka at gmail.com
Wed Jun 24 18:11:19 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124158/#review81727
-----------------------------------------------------------
Ship it!
I think there is a typo in the QML, but looks nice otherwise.
app/qml/main.qml (line 122)
<https://git.reviewboard.kde.org/r/124158/#comment56045>
Should be just "id"?
- Albert Vaca Cintora
On June 23, 2015, 4:07 p.m., Aleix Pol Gonzalez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124158/
> -----------------------------------------------------------
>
> (Updated June 23, 2015, 4:07 p.m.)
>
>
> Review request for kdeconnect.
>
>
> Repository: kdeconnect-kde
>
>
> Description
> -------
>
> * Removes the id->row mapping. It was broken as the indices weren't updated when a row was added or removed.
> * Stop exposing Device::id through dbus, just store it in the interface class.
> * It's redundant as it's part of the interface definition
> * If we keep it it will save us quite some dbus round-trips
> * It will be reliable, as nowadays id() sometimes QString() if the dbus connection is invalid.
>
>
> Diffs
> -----
>
> app/qml/main.qml ccde541
> core/device.h f3c7797
> interfaces/dbusinterfaces.h d551fba
> interfaces/dbusinterfaces.cpp 69abbf7
> interfaces/devicesmodel.h 92410ff
> interfaces/devicesmodel.cpp ca854f3
>
> Diff: https://git.reviewboard.kde.org/r/124158/diff/
>
>
> Testing
> -------
>
> Seems to work better.
>
>
> Thanks,
>
> Aleix Pol Gonzalez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150624/34fdaad5/attachment.html>
More information about the KDEConnect
mailing list