diff options
| author | David Faure <[email protected]> | 2012-07-18 20:40:56 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2012-08-13 22:25:28 +0200 |
| commit | 5fbe52c1518037ad3dbb89ba18f2a318aee114f4 (patch) | |
| tree | 517e619f64c77c17e7c981efaef4c077137d4e14 | |
| parent | 220d0d522dd3aca740c4c2d0c1f91f277f2405fd (diff) | |
Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0
BUGS: 274655, 292822
| -rw-r--r-- | src/dolphinmainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index fe3024d23..f3d23d686 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -434,7 +434,7 @@ void DolphinMainWindow::updateFilterBarAction(bool show) void DolphinMainWindow::openNewMainWindow() { - KRun::run("dolphin", KUrl::List(), this); + KRun::run("dolphin %u", KUrl::List(), this); } void DolphinMainWindow::openNewTab() @@ -545,7 +545,7 @@ void DolphinMainWindow::openInNewWindow() } 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) { case DolphinContextMenu::OpenParentFolderInNewWindow: { - KRun::run("dolphin", KUrl::List() << item.url().upUrl(), this); + KRun::run("dolphin %u", KUrl::List() << item.url().upUrl(), this); break; } |
