Apply update from QtGroupingProxy.
author Bart Cerneels
()
committer Bart Cerneels
()
commit e4c09dd3d207e7de4c9db2cd382746f98764c0dd
tree 07ec3471d0c7e9fa237e240e7d4d1ec3b7fcf9b7
parent 82e5d9014c62f30af41b2b058c37403b0f7b43c3
Apply update from QtGroupingProxy.

commit 42febf5 from https://gitorious.org/qtgroupingproxy/qtgroupingproxy
Call endRemoveRows in reverse order as begin...

This is a hack, because beginRemoveRows() should always be followed
by endRemoveRows() before the next remove. But since QAbstractItemView
uses a stack to apply changes it works with those. Might break proxyies
though.

Possible fix for SortFilterProxy crashes.

CCBUG:256869

BUG:300977
FIXED-IN:2.6
src/browsers/playlistbrowser/QtGroupingProxy.cpp