mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Qt/NetPlayDialog: Show more friendly interface names
This commit is contained in:
parent
0141ce9305
commit
26bee93943
@ -322,7 +322,7 @@ void NetPlayDialog::show(std::string nickname, bool use_traversal)
|
|||||||
m_room_box->addItem(tr("Room ID"));
|
m_room_box->addItem(tr("Room ID"));
|
||||||
|
|
||||||
for (const auto& iface : Settings::Instance().GetNetPlayServer()->GetInterfaceSet())
|
for (const auto& iface : Settings::Instance().GetNetPlayServer()->GetInterfaceSet())
|
||||||
m_room_box->addItem(QString::fromStdString(iface));
|
m_room_box->addItem(iface == "!local!" ? tr("Local") : QString::fromStdString(iface));
|
||||||
}
|
}
|
||||||
|
|
||||||
m_start_button->setHidden(!is_hosting);
|
m_start_button->setHidden(!is_hosting);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user