configuration: use tr instead of QStringLiteral for "None" item in

network interface combobox
This commit is contained in:
Sönke Holz 2021-08-13 00:34:04 +02:00
parent 771de32af1
commit 04ec426201

View File

@ -48,7 +48,7 @@ ConfigureNetwork::ConfigureNetwork(QWidget* parent)
ui->bcat_source->addItem(QStringLiteral("Boxcat"), QStringLiteral("boxcat"));
#endif
ui->network_interface->addItem(QStringLiteral("None"));
ui->network_interface->addItem(tr("None"));
for (const auto& interface : Network::GetAvailableNetworkInterfaces()) {
ui->network_interface->addItem(QString::fromStdString(interface.name));
}