Confirmations of the following settings now reset themselves to their defaults:

*Move to Trash
*Delete
These are located in the General page->Context Menu tab of the settings dialog.

svn path=/trunk/KDE/kdebase/apps/; revision=920205
This commit is contained in:
Shaun Reich 2009-02-02 14:44:25 +00:00
parent bacc9c9137
commit 952fc86039

View file

@ -133,10 +133,11 @@ void BehaviorSettingsPage::applySettings()
void BehaviorSettingsPage::restoreDefaults()
{
GeneralSettings* settings = DolphinSettings::instance().generalSettings();
//TODO: Reset default settings for both trash and show delete commands (confirmations).
settings->useDefaults(true);
loadSettings();
settings->useDefaults(false);
m_confirmMoveToTrash->setChecked(false);
m_confirmDelete->setChecked(true);
}
void BehaviorSettingsPage::loadSettings()