mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 13:26:30 -05:00
configuration: use tr instead of QStringLiteral for "None" item in
network interface combobox
This commit is contained in:
parent
771de32af1
commit
04ec426201
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ ConfigureNetwork::ConfigureNetwork(QWidget* parent)
|
||||||
ui->bcat_source->addItem(QStringLiteral("Boxcat"), QStringLiteral("boxcat"));
|
ui->bcat_source->addItem(QStringLiteral("Boxcat"), QStringLiteral("boxcat"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ui->network_interface->addItem(QStringLiteral("None"));
|
ui->network_interface->addItem(tr("None"));
|
||||||
for (const auto& interface : Network::GetAvailableNetworkInterfaces()) {
|
for (const auto& interface : Network::GetAvailableNetworkInterfaces()) {
|
||||||
ui->network_interface->addItem(QString::fromStdString(interface.name));
|
ui->network_interface->addItem(QString::fromStdString(interface.name));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue