From 3b4dfa2040c1e970ba6689bd7a874fab5f423e2d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 15 Dec 2006 01:56:57 +0000 Subject: Update for using a proxy model: prevent accessing the model by model() and doing a cast do KDirModel afterwards. Instead the access to the KDirModel is done by a member variable. Still the proxy model does not seem to work and leads to a crash as soon as the QListView should work with the proxy model -> in the meantime in line 112 from DolphinView.cpp the KDirModel is used instead of the proxy model. svn path=/trunk/playground/utils/dolphin/; revision=613768 --- src/dolphinview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 42e54f802..297dd3bd8 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -53,6 +53,7 @@ class DolphinDetailsView; class DolphinSortFilterProxyModel; class ViewProperties; class KProgress; +class KDirModel; class FilterBar; class QModelIndex; @@ -464,6 +465,7 @@ private: FilterBar *m_filterBar; DolphinStatusBar* m_statusBar; + KDirModel* m_dirModel; DolphinDirLister* m_dirLister; DolphinSortFilterProxyModel* m_proxyModel; -- cgit v1.3