ConfigWizard: Other vendor sample data, minor fixes

This commit is contained in:
Vojtech Kral 2018-04-06 12:15:28 +02:00
parent d1c1dcbe8f
commit 9dcec6662e
13 changed files with 1990 additions and 25 deletions

View file

@ -135,8 +135,6 @@ void AppConfig::save()
bool AppConfig::get_variant(const std::string &vendor, const std::string &model, const std::string &variant) const
{
// std::cerr << "AppConfig::get_variant(" << vendor << ", " << model << ", " << variant << ") " << std::endl;
const auto it_v = m_vendors.find(vendor);
if (it_v == m_vendors.end()) { return false; }
const auto it_m = it_v->second.find(model);