diff options
| author | Rafael Fernández López <[email protected]> | 2007-06-19 17:26:09 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-06-19 17:26:09 +0000 |
| commit | 41d6071059f31a8b906cacd2dfe5a802e4b4c0d1 (patch) | |
| tree | 8a6e972a392c6055ecf29e43ee0a6361c1af08f9 /src/klistview.cpp | |
| parent | 85e0112c3d17df526093d9ccabaea2a31d3e172a (diff) | |
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
Diffstat (limited to 'src/klistview.cpp')
| -rw-r--r-- | src/klistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
