From 5b1a39027041dbb0a7ea880fada0207de1cccce0 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 18 Dec 2020 15:15:43 +0100 Subject: [PATCH] Remove configuration options deprecated in 0.8.x --- src/settings.cpp | 49 ------------------------------------------------ 1 file changed, 49 deletions(-) diff --git a/src/settings.cpp b/src/settings.cpp index 70aba9e8..9117fa67 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -214,55 +214,6 @@ bool Configuration::read(const std::vector &config_paths, bool igno option_parser p; // Deprecated options. - p.add("visualizer_sample_multiplier", nullptr, "", [](std::string v) { - if (!v.empty()) - deprecated( - "visualizer_sample_multiplier", - "0.9", - "visualizer scales automatically"); - }); - p.add("progressbar_boldness", nullptr, "", [](std::string v) { - if (!v.empty()) - deprecated( - "progressbar_boldness", - "0.9", - "use extended progressbar_color and progressbar_elapsed_color instead"); - }); - - p.add("main_window_highlight_color", nullptr, "", [this](std::string v) { - if (!v.empty()) - { - const std::string current_item_prefix_str = "$(" + v + ")$r"; - const std::string current_item_suffix_str = "$/r$(end)"; - current_item_prefix = buffer_wlength( - nullptr, - current_item_prefix_length, - current_item_prefix_str); - current_item_suffix = buffer_wlength( - nullptr, - current_item_suffix_length, - current_item_suffix_str); - deprecated( - "main_window_highlight_color", - "0.9", - "set current_item_prefix = \"" - + current_item_prefix_str - + "\" and current_item_suffix = \"" - + current_item_suffix_str - + "\" to preserve current behavior"); - }; - }); - p.add("active_column_color", nullptr, "", [](std::string v) { - if (!v.empty()) - { - deprecated( - "active_column_color", - "0.9", - "replaced by current_item_inactive_column_prefix" - " and current_item_inactive_column_suffix"); - }; - }); - p.add("visualizer_fifo_path", &visualizer_fifo_path, "", [](std::string v) { if (!v.empty()) {