┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-10-10 15:09:48 +0200
committerEmmanuel Pescosta <[email protected]>2015-10-21 13:45:45 +0200
commit5dd5eaf08da4b7d11e53c90096c2ea0e6a19e840 (patch)
tree8b2b1e11ecb6cbb849aff34c72beb02ef715f116 /src/main.cpp
parent4d6cd761d8987adee511546f644ecf5f357148ad (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/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b4ca2c6af..bcc9f8a85 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -113,8 +113,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
if (urls.isEmpty()) {
// We need at least one URL to open Dolphin
- const QUrl homeUrl(QUrl::fromLocalFile(GeneralSettings::homeUrl()));
- urls.append(homeUrl);
+ urls.append(Dolphin::homeUrl());
}
const bool splitView = parser.isSet("split") || GeneralSettings::splitView();