From: David Faure Date: Sat, 14 Nov 2009 01:51:08 +0000 (+0000) Subject: Cheat a bit with the root item: give it the view URL, rather than the dirlister url X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/5c4b82b8da24beb9053270354b7b3949751ac406?ds=inline 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 --- 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