From 5926d0fddd94d25a5546eee82a6dd8f072196b83 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 19 Jun 2007 16:35:52 +0000 Subject: * fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split) * get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer svn path=/trunk/KDE/kdebase/apps/; revision=677654 --- src/dolphinview.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 3d0f9a548..1a240be7a 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -115,15 +115,12 @@ public: * @param proxyModel Used proxy model which specifies the sorting. The * model is not owned by the view and won't get * deleted. - * @param mode Used display mode (IconsView, DetailsView or ColumnsView). - * @param showHiddenFiles If true, hidden files will be shown in the view. */ DolphinView(QWidget* parent, const KUrl& url, KDirLister* dirLister, KDirModel* dirModel, - DolphinSortFilterProxyModel* proxyModel, - Mode mode); + DolphinSortFilterProxyModel* proxyModel); virtual ~DolphinView(); @@ -472,6 +469,12 @@ private slots: private: void startDirLister(const KUrl& url, bool reload = false); + /** + * Applies the view properties which are defined by the current URL + * m_url to the DolphinView properties. + */ + void applyViewProperties(const KUrl& url); + /** * Creates a new view representing the given view mode (DolphinView::mode()). * The current view will get deleted. -- cgit v1.3