┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-25 05:59:27 +0000
committerPeter Penz <[email protected]>2007-09-25 05:59:27 +0000
commit6fd52b51ac3bd97483988df222da35f53dfc0305 (patch)
treed4a121c200144e4b1d799fd8c84cebf52daa077f /src/dolphinviewcontainer.cpp
parent48c0de3483fac6abe3e7c195e44c6114a2635e38 (diff)
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
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
-rw-r--r--src/dolphinviewcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
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