From: Peter Penz Date: Sat, 6 Oct 2007 18:10:26 +0000 (+0000) Subject: don't use the directory lister directly X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c1a0fb31612abb77069d8ece15f6ffb16d2d1871 don't use the directory lister directly svn path=/trunk/KDE/kdebase/apps/; revision=722142 --- 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();