From 5c4b82b8da24beb9053270354b7b3949751ac406 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 14 Nov 2009 01:51:08 +0000 Subject: Cheat a bit with the root item: give it the view URL, rather than the dirlister url (e.g. because KDirLister now resolves symlinks) CCBUG: 213799 svn path=/trunk/KDE/kdebase/apps/; revision=1048853 --- src/dolphinpart.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphinpart.cpp') diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index fbaa6fe49..34569eeb5 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -358,6 +358,8 @@ void DolphinPart::slotOpenContextMenu(const KFileItem& _item, item = m_dirLister->rootItem(); if (item.isNull()) item = KFileItem( S_IFDIR, (mode_t)-1, url() ); + else + item.setUrl(url()); // ensure we use the view url, not the canonical path (#213799) } // TODO: We should change the signature of the slots (and signals) for being able -- cgit v1.3