From 1ae377cd6ced8477fe235ca6a8006fef91e1fc33 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 8 Nov 2010 18:05:36 +0000 Subject: Remember the root-URL when saving the state of a view. This allows to restore a column-view correctly when going back in history. svn path=/trunk/KDE/kdebase/apps/; revision=1194323 --- src/views/dolphinview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 5fcf1ab4d..d513eba1b 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -756,6 +756,7 @@ private: */ QWidget* layoutTarget() const; + void setRootUrl(const KUrl& rootUrl); KUrl rootUrl() const; bool supportsCategorizedSorting() const; @@ -775,6 +776,7 @@ private: KDirLister* dirLister() const; private: + KUrl m_rootUrl; DolphinIconsView* m_iconsView; DolphinDetailsView* m_detailsView; DolphinColumnViewContainer* m_columnsContainer; @@ -801,7 +803,6 @@ private: QTimer* m_selectionChangedTimer; - KUrl m_rootUrl; KUrl m_activeItemUrl; QPoint m_restoredContentsPosition; KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu -- cgit v1.3