From 051f0b975d9e20e2cb47fced797726c41db635b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Tue, 19 Jun 2007 18:59:13 +0000 Subject: [PATCH] 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(+) 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 -- 2.47.3