Commit f84c4267 authored by Frank Reininghaus's avatar Frank Reininghaus

Only store the HomeUrl in dolphinrc if it is not the user's home folder

This fixes the problem that copying the dolphinrc from another user
results in Dolphin starting up in a folder that might wither not be
accessible or not exist at all.

BUG: 308569
FIXED-IN: 4.9.3
parent ab82045a
......@@ -5,6 +5,7 @@
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<include>QDir</include>
<include>KUrl</include>
<include>kglobalsettings.h</include>
<kcfgfile name="dolphinrc"/>
<group name="General">
......@@ -30,7 +31,7 @@
</entry>
<entry name="HomeUrl" type="String">
<label>Home URL</label>
<default code="true">QDir::homePath()</default>
<default code="true">KUrl(QDir::homePath()).prettyUrl()</default>
</entry>
<entry name="SplitView" type="Bool">
<label>Split the view into two panes</label>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment