┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 668f92b7c..e393b22d0 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -612,6 +612,9 @@ void DolphinMainWindow::init()
const bool firstRun = generalSettings->firstRun();
if (firstRun) {
generalSettings->setViewPropsTimestamp(QDateTime::currentDateTime());
+ Q_ASSERT(generalSettings->homeUrl().isEmpty());
+ const KUrl homeUrl(QDir::homePath());
+ generalSettings->setHomeUrl(homeUrl.prettyUrl());
}
setAcceptDrops(true);