Even better...

svn path=/trunk/KDE/kdebase/apps/; revision=724538
This commit is contained in:
Rafael Fernández López 2007-10-12 15:41:04 +00:00
parent a4e558c546
commit d0e7eabcaa

View file

@ -1345,6 +1345,10 @@ void KCategorizedView::slotLayoutChanged()
{ {
// Force the view to update all elements // Force the view to update all elements
rowsInsertedArtifficial(QModelIndex(), 0, d->proxyModel->rowCount() - 1); rowsInsertedArtifficial(QModelIndex(), 0, d->proxyModel->rowCount() - 1);
d->modelSortRole = d->proxyModel->sortRole();
d->modelSortColumn = d->proxyModel->sortColumn();
d->modelSortOrder = d->proxyModel->sortOrder();
} }
} }