From e80f07735774cfd8e4debef48cbef7869506e585 Mon Sep 17 00:00:00 2001 From: John Tapsell Date: Mon, 3 Dec 2007 10:32:27 +0000 Subject: The first columns model and selection model should be the same as the view's model and selection model. This means 1) We don't leak memory switching to and from column view 2) Selection is preserved when switching views 3) We don't have 2 models running for the root directory CCMAIL:peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=744386 --- src/dolphincolumnwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphincolumnwidget.h') diff --git a/src/dolphincolumnwidget.h b/src/dolphincolumnwidget.h index e8fea3bf5..14b4c8751 100644 --- a/src/dolphincolumnwidget.h +++ b/src/dolphincolumnwidget.h @@ -89,6 +89,7 @@ public: * which contain the given filter string will be shown. */ void setNameFilter(const QString& nameFilter); + virtual void setModel ( QAbstractItemModel * model ); protected: virtual QStyleOptionViewItem viewOptions() const; -- cgit v1.3