Review Request 125549: using qsortfilterproxy model to sort the variables

Milian Wolff mail at milianw.de
Thu Oct 8 10:27:59 UTC 2015



On Oct. 7, 2015, 8:27 p.m., rishabh  gupta wrote:
> > Shouldn't it sort it without the proxy model at all?

no, afaik you still need the sort proxy. this line just enables the sorting features in the header view


- Milian


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


On Oct. 7, 2015, 6:26 p.m., rishabh  gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125549/
> -----------------------------------------------------------
> 
> (Updated Oct. 7, 2015, 6:26 p.m.)
> 
> 
> Review request for KDevelop and Milian Wolff.
> 
> 
> Bugs: 119929
>     http://bugs.kde.org/show_bug.cgi?id=119929
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> bug 119929 .sorting varibales list alphabetically using qsortfilterproxymodel
> 
> 
> Diffs
> -----
> 
>   debugger/util/treeview.h f6a6370 
>   debugger/util/treeview.cpp ae9f0e0 
>   debugger/variable/variablewidget.cpp 79f366d 
> 
> Diff: https://git.reviewboard.kde.org/r/125549/diff/
> 
> 
> Testing
> -------
> 
> built
> 
> works fine if Q_ASSERT(qobject_cast<VariableCollection*>(model())) of variablewidget.cpp line 174 is commented out ,gives SIGABRT otherwise. Is it fine to comment it out ?
> 
> 
> Thanks,
> 
> rishabh  gupta
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20151008/eedee01b/attachment.html>


More information about the KDevelop-devel mailing list