diff options
| author | Frank Reininghaus <[email protected]> | 2012-10-31 22:43:40 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-10-31 22:48:59 +0100 |
| commit | bc72aeeb8f47b94f30e6226169d2d5602433ac57 (patch) | |
| tree | 4a96a9d2cb8601b6eb0dd5497ef9e9a933c69e53 /src/settings | |
| parent | 32569ebedfaa70f8deb0714936792af9bce8a82b (diff) | |
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
Diffstat (limited to 'src/settings')
| -rw-r--r-- | src/settings/dolphin_generalsettings.kcfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings/dolphin_generalsettings.kcfg b/src/settings/dolphin_generalsettings.kcfg index 050750199..849a9c75c 100644 --- a/src/settings/dolphin_generalsettings.kcfg +++ b/src/settings/dolphin_generalsettings.kcfg @@ -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> |
