]> cloud.milkyroute.net Git - dolphin.git/commitdiff
The Home folder location, when set via loadSettings(), and when set via the 'Use...
authorShaun Reich <shaun.reich@kdemail.net>
Wed, 4 Feb 2009 03:44:13 +0000 (03:44 +0000)
committerShaun Reich <shaun.reich@kdemail.net>
Wed, 4 Feb 2009 03:44:13 +0000 (03:44 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=920943

src/settings/startupsettingspage.cpp

index 62d3c401ebc2193e10bda2be79c27fb16733e8a8..fd79debc3803a20739e44c1d740a6b5ab3d0806b 100644 (file)
@@ -153,13 +153,15 @@ void StartupSettingsPage::useCurrentLocation()
 
 void StartupSettingsPage::useDefaultLocation()
 {
-    m_homeUrl->setText(QDir::homePath());
+   KUrl url(QDir::homePath());
+    m_homeUrl->setText(url.prettyUrl());
 }
 
 void StartupSettingsPage::loadSettings()
 {
     GeneralSettings* settings = DolphinSettings::instance().generalSettings();
-    m_homeUrl->setText(settings->homeUrl());
+    KUrl url(settings->homeUrl());
+    m_homeUrl->setText(url.prettyUrl());
     m_splitView->setChecked(settings->splitView());
     m_editableUrl->setChecked(settings->editableUrl());
     m_showFullPath->setChecked(settings->showFullPath());