From 051f0b975d9e20e2cb47fced797726c41db635b2 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Tue, 19 Jun 2007 18:59:13 +0000 Subject: Fix the problem "the scrollbar remains if it was shown on the categorized view, and now it has been disabled (the categorized view)" svn path=/trunk/KDE/kdebase/apps/; revision=677706 --- src/klistview.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/klistview.cpp') diff --git a/src/klistview.cpp b/src/klistview.cpp index 553c4e400..fff694e35 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -486,6 +486,10 @@ void KListView::setItemCategorizer(KItemCategorizer *itemCategorizer) { rowsInserted(QModelIndex(), 0, d->proxyModel->rowCount() - 1); } + else + { + updateGeometries(); + } } QModelIndex KListView::indexAt(const QPoint &point) const -- cgit v1.3