From 41d6071059f31a8b906cacd2dfe5a802e4b4c0d1 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Tue, 19 Jun 2007 17:26:09 +0000 Subject: Fix the problem of the crash related to commit 677667, taking in count we are in IconMode, not in a mode different than ListMode. Fix some comments. svn path=/trunk/KDE/kdebase/apps/; revision=677668 --- src/klistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/klistview.cpp') diff --git a/src/klistview.cpp b/src/klistview.cpp index 15c8b576a..7e4259be6 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -956,7 +956,7 @@ void KListView::updateGeometries() void KListView::slotSortingRoleChanged() { - if ((viewMode() != KListView::ListMode) && d->proxyModel && + if ((viewMode() == KListView::IconMode) && d->proxyModel && d->itemCategorizer) { // Force the view to update all elements -- cgit v1.3