diff options
| author | Peter Penz <[email protected]> | 2009-03-21 11:49:10 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-21 11:49:10 +0000 |
| commit | 18f99bf84e1d38ddd4c86d253ff81a178bc2fb22 (patch) | |
| tree | 329ef5a5a603c14127303614dbc296dfa7c54362 /src/settings/navigationsettingspage.cpp | |
| parent | 75ff72c553d20c2d074ed381ad49ee61b59bfcc0 (diff) | |
- Write the settings to the disk as soon as "Apply" or "OK" has been pressed inside a settings dialog.
- Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size).
Thanks to Frank Reininghaus and David Faure for the analyses.
CCBUG: 175085
svn path=/trunk/KDE/kdebase/apps/; revision=942194
Diffstat (limited to 'src/settings/navigationsettingspage.cpp')
| -rw-r--r-- | src/settings/navigationsettingspage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/navigationsettingspage.cpp b/src/settings/navigationsettingspage.cpp index b6d3e7644..31f4d47c0 100644 --- a/src/settings/navigationsettingspage.cpp +++ b/src/settings/navigationsettingspage.cpp @@ -90,6 +90,8 @@ void NavigationSettingsPage::applySettings() GeneralSettings* settings = DolphinSettings::instance().generalSettings(); settings->setBrowseThroughArchives(m_openArchivesAsFolder->isChecked()); settings->setAutoExpandFolders(m_autoExpandFolders->isChecked()); + + settings->writeConfig(); } void NavigationSettingsPage::restoreDefaults() |
