From ca26d35f549c87492a56811fbeede8f795380aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Sun, 29 May 2022 12:11:08 +0200 Subject: [PATCH] Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/ --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 77bf869815..e717906566 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()); }