configuration: fix mingw-w64 build

This commit is contained in:
Sönke Holz 2021-08-13 12:39:14 +02:00
parent deb65a5717
commit 068c66672d

View File

@ -50,8 +50,8 @@ ConfigureNetwork::ConfigureNetwork(QWidget* parent)
#endif
ui->network_interface->addItem(tr("None"));
for (const auto& interface : Network::GetAvailableNetworkInterfaces()) {
ui->network_interface->addItem(QString::fromStdString(interface.name));
for (const auto& iface : Network::GetAvailableNetworkInterfaces()) {
ui->network_interface->addItem(QString::fromStdString(iface.name));
}
connect(ui->bcat_source, QOverload<int>::of(&QComboBox::currentIndexChanged), this,