mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/
This commit is contained in:
parent
1fc3108f14
commit
ca26d35f54
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue