┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-10-06 18:10:26 +0000
committerPeter Penz <[email protected]>2007-10-06 18:10:26 +0000
commitc1a0fb31612abb77069d8ece15f6ffb16d2d1871 (patch)
treeaf144ded551c3c99b860b1b561838519b23e7f3b
parent41e64a33e8d86791cdb794a7f98d9b17a4ee363b (diff)
don't use the directory lister directly
svn path=/trunk/KDE/kdebase/apps/; revision=722142
-rw-r--r--src/dolphinview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 7311b3074..75c1ee01c 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -159,8 +159,9 @@ void DolphinView::setMode(Mode mode)
// to go back to the root URL of the column view automatically.
// Otherwise there it would not be possible to turn off the column view
// without focusing the first column.
- setUrl(m_dirLister->url());
- m_controller->setUrl(m_dirLister->url());
+ const KUrl root = rootUrl();
+ setUrl(root);
+ m_controller->setUrl(root);
}
const KUrl viewPropsUrl = viewPropertiesUrl();