mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
~ is no useful home folder in a Windows environment (thanks to Michael O'Shea for the patch!)
BUG: 156463 CCMAIL: michael.a.oshea@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=775056
This commit is contained in:
parent
731a32414f
commit
57e2cd9ae9
2 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue