From b023c737e3b1cc5e7a4adc0a412e092e52ed3e52 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Thu, 29 Jul 2021 13:19:35 +0200 Subject: [PATCH] Remove options deprecated in 0.9 --- src/settings.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/settings.cpp b/src/settings.cpp index 6fd3558b..3677837c 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -212,28 +212,6 @@ void deprecated(const char *option, const char *version_removal, bool Configuration::read(const std::vector &config_paths, bool ignore_errors) { option_parser p; - - // Deprecated options. - p.add("visualizer_fifo_path", &visualizer_fifo_path, "", [](std::string v) { - if (!v.empty()) - { - deprecated("visualizer_fifo_path", - "0.10", - "replaced by visualizer_data_source"); - } - return adjust_path(v); - }); - p.add("visualizer_sync_interval", nullptr, "", [](std::string v) { - if (!v.empty()) - { - deprecated("visualizer_sync_interval", - "0.10", - "set 'buffer_time' parameter of your MPD audio output to '100000' " - "(100ms) or lower if you experience synchronization issues " - "between audio and visualization"); - } - }); - // keep the same order of variables as in configuration file p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.config/ncmpcpp/", adjust_directory); p.add("lyrics_directory", &lyrics_directory, "~/.lyrics/", adjust_directory);