From: Shaun Reich Date: Mon, 2 Feb 2009 14:44:25 +0000 (+0000) Subject: Confirmations of the following settings now reset themselves to their defaults: X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/952fc86039e9b3ba9b0ba5342e0fcfa30647268a 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 --- diff --git a/src/settings/behaviorsettingspage.cpp b/src/settings/behaviorsettingspage.cpp index 329ec586c..f128613fc 100644 --- a/src/settings/behaviorsettingspage.cpp +++ b/src/settings/behaviorsettingspage.cpp @@ -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()