From: Méven Car Date: Sun, 29 May 2022 10:11:08 +0000 (+0200) Subject: Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/ X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/ca26d35f549c87492a56811fbeede8f795380aea Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/ --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 77bf86981..e71790656 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1095,7 +1095,7 @@ void DolphinMainWindow::openTerminalHere() QList urls = {}; for (const KFileItem& item : m_activeViewContainer->view()->selectedItems()) { - QUrl url = item.url(); + QUrl url = item.targetUrl(); if (item.isFile()) { url.setPath(QFileInfo(url.path()).absolutePath()); }