┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/global.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-11-09 09:33:20 +0100
committerEmmanuel Pescosta <[email protected]>2015-11-09 09:33:20 +0100
commit727d2513c0a8e7b3e6370f5e08b0d7579ae89564 (patch)
tree9ff6c83c5762cb7b034df876f76d0a8b5051a4e6 /src/global.cpp
parentbc8f3373fd98121fbe230842bbb104889961e6d7 (diff)
parent6f87ffa2b06100e4fb1a11e06fb4c62c27ce019a (diff)
Merge branch 'Applications/15.08'
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/global.cpp b/src/global.cpp
index 2f23ae4d4..d87a29c7a 100644
--- a/src/global.cpp
+++ b/src/global.cpp
@@ -20,6 +20,8 @@
#include "global.h"
#include "dolphindebug.h"
+#include "dolphin_generalsettings.h"
+
QList<QUrl> Dolphin::validateUris(const QStringList& uriList)
{
QList<QUrl> urls;
@@ -33,3 +35,8 @@ QList<QUrl> Dolphin::validateUris(const QStringList& uriList)
}
return urls;
}
+
+QUrl Dolphin::homeUrl()
+{
+ return QUrl::fromUserInput(GeneralSettings::homeUrl(), QString(), QUrl::AssumeLocalFile);
+}