From c35843f38c596eda4a9b04ba4c6a3247f3bdebc9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 17 May 2007 13:29:13 +0000 Subject: when the column view is used, then 'Split view' should take the root URL of the column view as new base for the secondary view svn path=/trunk/KDE/kdebase/apps/; revision=665630 --- src/dolphinview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 652274d63..d33ed3eba 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -197,6 +197,11 @@ const KUrl& DolphinView::url() const return m_urlNavigator->url(); } +KUrl DolphinView::rootUrl() const +{ + return isColumnViewActive() ? m_dirLister->url() : url(); +} + bool DolphinView::isActive() const { return m_mainWindow->activeView() == this; -- cgit v1.3