Review Request 124644: New proxymodel: KConcatenateRowsProxyModel
David Edmundson
david at davidedmundson.co.uk
Thu Aug 6 12:22:51 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124644/#review83487
-----------------------------------------------------------
can/should we proxy the roleNames from the first model as well?
src/kconcatenaterowsproxymodel.cpp (line 199)
<https://git.reviewboard.kde.org/r/124644/#comment57708>
I think if the sourceModel is empty when you remove it, you're going to be emitting that you're removing a row when you shouldn't be
- David Edmundson
On Aug. 6, 2015, 12:15 p.m., David Faure wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124644/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2015, 12:15 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: kitemmodels
>
>
> Description
> -------
>
> This proxy takes multiple source models and concatenates their rows.
>
> REVIEW: 124644
>
>
> Diffs
> -----
>
> autotests/CMakeLists.txt 0cf8fafac60a442ecf8237cc45383cfc7aee79ae
> autotests/kconcatenaterowsproxymodeltest.cpp PRE-CREATION
> src/CMakeLists.txt fad530d2936a52c80b537aa0e6d22a16928a071d
> src/kconcatenaterowsproxymodel.h PRE-CREATION
> src/kconcatenaterowsproxymodel.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/124644/diff/
>
>
> Testing
> -------
>
> fully unittested, used in one real app
>
>
> Thanks,
>
> David Faure
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150806/028dbec1/attachment.html>
More information about the Kde-frameworks-devel
mailing list