don't use the directory lister directly

svn path=/trunk/KDE/kdebase/apps/; revision=722142
This commit is contained in:
Peter Penz 2007-10-06 18:10:26 +00:00
parent 41e64a33e8
commit c1a0fb3161

View file

@ -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();