diff options
| author | David Faure <[email protected]> | 2009-11-14 01:51:08 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2009-11-14 01:51:08 +0000 |
| commit | 5c4b82b8da24beb9053270354b7b3949751ac406 (patch) | |
| tree | 831bafd43e0bf5a637a57659699074f1b7564f62 /src | |
| parent | 5328ae89422ef23fa5a4662582eda008ccab3595 (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.cpp | 2 |
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 |
