mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0 BUGS: 274655, 292822
This commit is contained in:
parent
220d0d522d
commit
5fbe52c151
|
@ -434,7 +434,7 @@ void DolphinMainWindow::updateFilterBarAction(bool show)
|
||||||
|
|
||||||
void DolphinMainWindow::openNewMainWindow()
|
void DolphinMainWindow::openNewMainWindow()
|
||||||
{
|
{
|
||||||
KRun::run("dolphin", KUrl::List(), this);
|
KRun::run("dolphin %u", KUrl::List(), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DolphinMainWindow::openNewTab()
|
void DolphinMainWindow::openNewTab()
|
||||||
|
@ -545,7 +545,7 @@ void DolphinMainWindow::openInNewWindow()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!newWindowUrl.isEmpty()) {
|
if (!newWindowUrl.isEmpty()) {
|
||||||
KRun::run("dolphin", KUrl::List() << newWindowUrl, this);
|
KRun::run("dolphin %u", KUrl::List() << newWindowUrl, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1299,7 +1299,7 @@ void DolphinMainWindow::openContextMenu(const QPoint& pos,
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case DolphinContextMenu::OpenParentFolderInNewWindow: {
|
case DolphinContextMenu::OpenParentFolderInNewWindow: {
|
||||||
KRun::run("dolphin", KUrl::List() << item.url().upUrl(), this);
|
KRun::run("dolphin %u", KUrl::List() << item.url().upUrl(), this);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue