From 6fd52b51ac3bd97483988df222da35f53dfc0305 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 25 Sep 2007 05:59:27 +0000 Subject: assure that the restoring the column view cannot fail and replace the temporary 'if (...)-fix' by a Q_ASSERT again svn path=/trunk/KDE/kdebase/apps/; revision=716711 --- src/dolphinviewcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphinviewcontainer.cpp') diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 9a358b2ff..d54ec1e93 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -506,6 +506,7 @@ void DolphinViewContainer::slotItemTriggered(const KFileItem& item) KUrl url = item.mostLocalUrl(isLocal); if (item.isDir()) { + m_view->setRootUrl(KUrl()); // the root URL is unknown m_view->setUrl(url); } else if (item.isFile()) { // allow to browse through ZIP and tar files -- cgit v1.3