diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-12-14 17:46:58 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-12-14 17:46:58 +0100 |
| commit | a07d63d419469592b2600e668795cea2f9bee403 (patch) | |
| tree | bc941b43bd1f0dfcc37b1ee2700be2bfe3f94683 /src/dolphinpart.cpp | |
| parent | 895a7c941bb25cacf88efe588d7c239dabe3993b (diff) | |
port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false);
Diffstat (limited to 'src/dolphinpart.cpp')
| -rw-r--r-- | src/dolphinpart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 8484b7ef9..cfde90ada 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -404,7 +404,7 @@ void DolphinPart::slotOpenContextMenu(const QPoint& pos, popupFlags |= KParts::BrowserExtension::ShowNavigationItems | KParts::BrowserExtension::ShowUp; item = m_view->rootItem(); if (item.isNull()) - item = KFileItem( S_IFDIR, (mode_t)-1, url() ); + item = KFileItem(url()); else item.setUrl(url()); // ensure we use the view url, not the canonical path (#213799) } |
