diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphin_generalsettings.kcfg | 2 | ||||
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphin_generalsettings.kcfg b/src/dolphin_generalsettings.kcfg index 6149480b3..33b66a177 100644 --- a/src/dolphin_generalsettings.kcfg +++ b/src/dolphin_generalsettings.kcfg @@ -13,7 +13,7 @@ </entry> <entry name="HomeUrl" type="String"> <label context="@label">Home URL</label> - <default>~</default> + <default></default> </entry> <entry name="SplitView" type="Bool"> <label context="@label">Split the view into two panes</label> 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); |
