- for (auto& entry : context->drivers())
- driver_list_.emplace_back(QString::fromUtf8(entry.first.c_str()),
- QString::fromUtf8(entry.second->long_name().c_str()));
+ for (auto& entry : device_manager.context()->drivers())
+ if (device_manager.driver_supported(entry.second))
+ driver_list_.emplace_back(QString::fromUtf8(entry.first.c_str()),
+ QString::fromUtf8(entry.second->long_name().c_str()));