┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2006-12-15 01:56:57 +0000
committerPeter Penz <[email protected]>2006-12-15 01:56:57 +0000
commit3b4dfa2040c1e970ba6689bd7a874fab5f423e2d (patch)
treea7a39cfcf80aae6bf0fc2c8bc1083673eba19079 /src/dolphinview.h
parent3bd97ea34c72164a2c583ec28eafcdfc887455cf (diff)
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
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h2
1 files changed, 2 insertions, 0 deletions
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;