<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
<kcfg>
<kcfgfile name="dolphinrc"/>
+ <include>QDir</include>
<group name="General">
<entry name="EditableUrl" type="Bool">
<label context="@label">Should the URL be editable for the user</label>
</entry>
<entry name="HomeUrl" type="String">
<label context="@label">Home URL</label>
- <default></default>
+ <default code="true">QDir::homePath()</default>
</entry>
<entry name="SplitView" type="Bool">
<label context="@label">Split the view into two panes</label>
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);
void StartupSettingsPage::useDefaultLocation()
{
- m_homeUrl->setText("file://" + QDir::homePath());
+ m_homeUrl->setText(QDir::homePath());
}
void StartupSettingsPage::loadSettings()