mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
respond to further review feedback
This commit is contained in:
@ -51,7 +51,7 @@ void BroadbandAdapterSettingsDialog::InitControls()
|
||||
case Type::TapServer:
|
||||
case Type::ModemTapServer:
|
||||
{
|
||||
bool is_modem = (m_bba_type == Type::ModemTapServer);
|
||||
const bool is_modem = (m_bba_type == Type::ModemTapServer);
|
||||
current_address =
|
||||
QString::fromStdString(Config::Get(is_modem ? Config::MAIN_MODEM_TAPSERVER_DESTINATION :
|
||||
Config::MAIN_BBA_TAPSERVER_DESTINATION));
|
||||
@ -62,21 +62,13 @@ void BroadbandAdapterSettingsDialog::InitControls()
|
||||
tr("Enter the IP address and port of the tapserver instance you want to connect to."));
|
||||
#else
|
||||
address_label = new QLabel(tr("Destination (UNIX socket path or address:port):"));
|
||||
address_placeholder = QStringLiteral("/tmp/dolphin-tap");
|
||||
if (is_modem)
|
||||
{
|
||||
description = new QLabel(
|
||||
tr("The default value \"/tmp/dolphin-modem-tap\" will work with a local tapserver and "
|
||||
"newserv. You "
|
||||
"can also enter a network location (address:port) to connect to a remote tapserver."));
|
||||
}
|
||||
else
|
||||
{
|
||||
description = new QLabel(
|
||||
tr("The default value \"/tmp/dolphin-tap\" will work with a local tapserver and newserv. "
|
||||
"You "
|
||||
"can also enter a network location (address:port) to connect to a remote tapserver."));
|
||||
}
|
||||
address_placeholder =
|
||||
is_modem ? QStringLiteral(u"/tmp/dolphin-modem-tap") : QStringLiteral(u"/tmp/dolphin-tap");
|
||||
description =
|
||||
new QLabel(tr("The default value \"%1\" will work with a local tapserver and newserv."
|
||||
" You can also enter a network location (address:port) to connect to a "
|
||||
"remote tapserver.")
|
||||
.arg(address_placeholder));
|
||||
#endif
|
||||
window_title = tr("BBA destination address");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user