]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/
authorMéven Car <meven29@gmail.com>
Sun, 29 May 2022 10:11:08 +0000 (12:11 +0200)
committerMéven Car <meven29@gmail.com>
Sun, 29 May 2022 10:11:08 +0000 (12:11 +0200)
src/dolphinmainwindow.cpp

index 77bf8698153be98bccbac5a884d2c8dd01e1b70b..e717906566697de0977b428ea8309a1ca6f909af 100644 (file)
@@ -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());
         }