diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-10-10 15:09:48 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-10-21 13:45:45 +0200 |
| commit | 5dd5eaf08da4b7d11e53c90096c2ea0e6a19e840 (patch) | |
| tree | 8b2b1e11ecb6cbb849aff34c72beb02ef715f116 /src/dolphinmainwindow.cpp | |
| parent | 4d6cd761d8987adee511546f644ecf5f357148ad (diff) | |
Allow home directories with non-local file paths.
Paths like file:/home/me work now instead of showing
an error message.
BUG: 352743
BUG: 353550
FIXED-IN: 15.08.3
REVIEW: 125586
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f7a761307..1cde29ce2 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -21,6 +21,7 @@ #include "dolphinmainwindow.h" +#include "global.h" #include "dolphindockwidget.h" #include "dolphincontextmenu.h" #include "dolphinnewfilemenu.h" @@ -639,7 +640,7 @@ void DolphinMainWindow::goHome(Qt::MouseButtons buttons) { // The default case (left button pressed) is handled in goHome(). if (buttons == Qt::MiddleButton) { - openNewTab(GeneralSettings::self()->homeUrl()); + openNewTab(Dolphin::homeUrl()); } } |
