Review Request 123679: Fix build with Qt 5.5

Milian Wolff mail at milianw.de
Fri May 8 06:56:02 UTC 2015


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



src/kselectionproxymodel.cpp (line 2501)
<https://git.reviewboard.kde.org/r/123679/#comment54938>

    this should be adapted as well to say
    
        connect(d->m_selectionModel.data(), &QItemSelectionModel::modelChanged,
                this, handleSelectionModelModel);
                
    otherwise you'll leak the lambda connection even when this is destroyed, leading to undefined behavior.


- Milian Wolff


On May 7, 2015, 11:31 p.m., Jan Kundrát wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123679/
> -----------------------------------------------------------
> 
> (Updated May 7, 2015, 11:31 p.m.)
> 
> 
> Review request for KDE Frameworks and Stephen Kelly.
> 
> 
> Repository: kitemmodels
> 
> 
> Description
> -------
> 
> Turns out that there's apparently no overload accepting a QPointer as
> the first argument.
> 
> This is on Gentoo with qtbase e374ffc29c67493a51527117b55a53dfa5dd4267
> and GCC 4.8.3.
> 
> 
> Diffs
> -----
> 
>   src/kselectionproxymodel.cpp 0755fb1ca527dde8287ba2607d915a4e18c20134 
> 
> Diff: https://git.reviewboard.kde.org/r/123679/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jan Kundrát
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150508/c4adcb36/attachment.html>


More information about the Kde-frameworks-devel mailing list