┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-11-14 01:51:08 +0000
committerDavid Faure <[email protected]>2009-11-14 01:51:08 +0000
commit5c4b82b8da24beb9053270354b7b3949751ac406 (patch)
tree831bafd43e0bf5a637a57659699074f1b7564f62 /src
parent5328ae89422ef23fa5a4662582eda008ccab3595 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/dolphinpart.cpp2
1 files changed, 2 insertions, 0 deletions
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