From 7deb601f317d7c806e69d0d82d99a03d0859ca85 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 21 Feb 2012 16:46:56 +0100 Subject: Don't trigger assert when switching to details-view If the visible roles of the details-view are equal to the visible roles of other views, then switching to the details-view will trigger an assert because the invisible roles don't get updated. Thanks to Frank Reininghaus for the detailed analyses! In the context of this fix optimizations have been done when switching view-modes: The "don't-animate-workaround" could be removed. BUG: 294531 FIXED-IN: 4.8.1 --- src/kitemviews/kfileitemlistview.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/kitemviews/kfileitemlistview.h') diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index ea8477858..897015641 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -80,9 +80,6 @@ public: /** @reimp */ virtual QHash visibleRolesSizes(const KItemRangeList& itemRanges) const; - /** @reimp */ - virtual bool supportsItemExpanding() const; - /** @reimp */ virtual QPixmap createDragPixmap(const QSet& indexes) const; -- cgit v1.3.1