mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
The Home folder location, when set via loadSettings(), and when set via the 'Use Default Location' button, now will use KUrl::prettyUrl(); Prior to this, saving an address of '/home/user/' would be changed to 'file:///home/user' (on Linux) normally (through applySettings()). However, when the listed methods were called, the text of the line edit would be just '/home/user/'. It will now (basically) be set to 'file:///'... all throughout.
svn path=/trunk/KDE/kdebase/apps/; revision=920943
This commit is contained in:
parent
fe4648e45b
commit
71c30d2590
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue