mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
bacc9c9137
commit
952fc86039
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue