┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-17 13:29:13 +0000
committerPeter Penz <[email protected]>2007-05-17 13:29:13 +0000
commitc35843f38c596eda4a9b04ba4c6a3247f3bdebc9 (patch)
tree171e3551dd40fa80c41af4c4cd57e8c1810385c4 /src/dolphinview.cpp
parent8e4e7ce5b248026d941fc4097cbd92032ef53b19 (diff)
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
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp5
1 files changed, 5 insertions, 0 deletions
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;