diff options
| author | 2021-08-13 00:34:04 +0200 | |
|---|---|---|
| committer | 2021-08-13 00:34:04 +0200 | |
| commit | 04ec426201ff8706f94f784cbb542298e5f6daa7 (patch) | |
| tree | cdcf7438082b8f9ad73f31136c6535f2cf7ee1ba /src | |
| parent | network: use explicit bool conversions in GetAvailableNetworkInterfaces (diff) | |
| download | yuzu-04ec426201ff8706f94f784cbb542298e5f6daa7.tar.gz yuzu-04ec426201ff8706f94f784cbb542298e5f6daa7.tar.xz yuzu-04ec426201ff8706f94f784cbb542298e5f6daa7.zip | |
configuration: use tr instead of QStringLiteral for "None" item in
network interface combobox
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_network.cpp b/src/yuzu/configuration/configure_network.cpp index 9787d4f1b..3716967f6 100644 --- a/src/yuzu/configuration/configure_network.cpp +++ b/src/yuzu/configuration/configure_network.cpp | |||
| @@ -48,7 +48,7 @@ ConfigureNetwork::ConfigureNetwork(QWidget* parent) | |||
| 48 | ui->bcat_source->addItem(QStringLiteral("Boxcat"), QStringLiteral("boxcat")); | 48 | ui->bcat_source->addItem(QStringLiteral("Boxcat"), QStringLiteral("boxcat")); |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | ui->network_interface->addItem(QStringLiteral("None")); | 51 | ui->network_interface->addItem(tr("None")); |
| 52 | for (const auto& interface : Network::GetAvailableNetworkInterfaces()) { | 52 | for (const auto& interface : Network::GetAvailableNetworkInterfaces()) { |
| 53 | ui->network_interface->addItem(QString::fromStdString(interface.name)); | 53 | ui->network_interface->addItem(QString::fromStdString(interface.name)); |
| 54 | } | 54 | } |