diff options
| author | Peter Penz <[email protected]> | 2012-02-21 16:46:56 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-21 16:49:38 +0100 |
| commit | 7deb601f317d7c806e69d0d82d99a03d0859ca85 (patch) | |
| tree | 49f4347edb8377156b19e52708a01690795bfd5b /src/kitemviews/kfileitemlistview.h | |
| parent | a89bc63f6c2807e92c4e8f9b860ae32d93014e96 (diff) | |
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
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistview.h | 3 |
1 files changed, 0 insertions, 3 deletions
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 @@ -81,9 +81,6 @@ public: virtual QHash<QByteArray, QSizeF> visibleRolesSizes(const KItemRangeList& itemRanges) const; /** @reimp */ - virtual bool supportsItemExpanding() const; - - /** @reimp */ virtual QPixmap createDragPixmap(const QSet<int>& indexes) const; protected: |
