From c1a0fb31612abb77069d8ece15f6ffb16d2d1871 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 6 Oct 2007 18:10:26 +0000 Subject: don't use the directory lister directly svn path=/trunk/KDE/kdebase/apps/; revision=722142 --- src/dolphinview.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dolphinview.cpp') 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(); -- cgit v1.3