diff options
| author | Peter Penz <[email protected]> | 2007-05-17 13:29:13 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-17 13:29:13 +0000 |
| commit | c35843f38c596eda4a9b04ba4c6a3247f3bdebc9 (patch) | |
| tree | 171e3551dd40fa80c41af4c4cd57e8c1810385c4 /src/dolphinview.cpp | |
| parent | 8e4e7ce5b248026d941fc4097cbd92032ef53b19 (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.cpp | 5 |
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; |
