┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2022-05-29 12:11:08 +0200
committerMéven Car <[email protected]>2022-05-29 12:11:08 +0200
commitca26d35f549c87492a56811fbeede8f795380aea (patch)
treeb5060c434e321cd5a530584202e8a1ce204109dc
parent1fc3108f1444df18600bebc8bee11972d164ccf1 (diff)
Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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<QUrl> 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());
}