settings: remove allow_physical_*_deletion (replaced by custom binding)

This commit is contained in:
Andrzej Rybczak
2012-09-19 02:03:39 +02:00
parent 552bc77318
commit ae5bbbe63b
5 changed files with 1 additions and 29 deletions

View File

@@ -810,7 +810,7 @@ bool DeleteBrowserItems::canBeRun() const
{
return myScreen == myBrowser
&& !myBrowser->main().empty()
&& isMPDMusicDirSet();
&& isMPDMusicDirSet();
}
void DeleteBrowserItems::Run()

View File

@@ -233,8 +233,6 @@ void Configuration::SetDefaults()
block_search_constraints_change = true;
use_console_editor = false;
use_cyclic_scrolling = false;
allow_physical_files_deletion = false;
allow_physical_directories_deletion = false;
ask_before_clearing_main_playlist = false;
mouse_support = true;
mouse_list_scroll_whole_page = true;
@@ -753,14 +751,6 @@ void Configuration::Read()
{
block_search_constraints_change = v == "yes";
}
else if (name == "allow_physical_files_deletion")
{
allow_physical_files_deletion = v == "yes";
}
else if (name == "allow_physical_directories_deletion")
{
allow_physical_directories_deletion = v == "yes";
}
else if (name == "ask_before_clearing_main_playlist")
{
ask_before_clearing_main_playlist = v == "yes";

View File

@@ -171,8 +171,6 @@ struct Configuration
bool block_search_constraints_change;
bool use_console_editor;
bool use_cyclic_scrolling;
bool allow_physical_files_deletion;
bool allow_physical_directories_deletion;
bool ask_before_clearing_main_playlist;
bool mouse_support;
bool mouse_list_scroll_whole_page;