Both the 'preview size' slider and the 'embed thumbnails in files' settings now restore to defaults when asked to.

svn path=/trunk/KDE/kdebase/apps/; revision=920491
This commit is contained in:
Shaun Reich 2009-02-03 01:20:53 +00:00
parent a8d577ff2d
commit 58c95bc8d8

View file

@ -109,6 +109,8 @@ void PreviewsSettingsPage::restoreDefaults()
settings->useDefaults(true); settings->useDefaults(true);
loadSettings(); loadSettings();
settings->useDefaults(false); settings->useDefaults(false);
m_maxPreviewSize->setValue(5);
m_useFileThumbnails->setChecked(true);
} }
void PreviewsSettingsPage::loadSettings() void PreviewsSettingsPage::loadSettings()