diff options
author | Andrzej Rybczak <andrzej@rybczak.net> | 2021-07-29 13:19:35 +0200 |
---|---|---|
committer | Andrzej Rybczak <andrzej@rybczak.net> | 2021-07-29 13:19:54 +0200 |
commit | b023c737e3b1cc5e7a4adc0a412e092e52ed3e52 (patch) | |
tree | 177c88589fbd9ab8d87cc034f74e64ff1d5b6c2c | |
parent | 70ca94f7395dceefcf745b079bc892a7e998f3ed (diff) |
-rw-r--r-- | src/settings.cpp | 22 |
1 files changed, 0 insertions, 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<std::string> &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<void>("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); |