mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-05 10:01:23 +02:00
Fix build without UPnP
There is no checkbox.
This commit is contained in:
parent
80fe5e0a55
commit
469ea24717
@ -354,7 +354,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
m_host_port_lbl->Hide();
|
m_host_port_lbl->Hide();
|
||||||
m_host_port_text->Hide();
|
m_host_port_text->Hide();
|
||||||
|
#ifdef USE_UPNP
|
||||||
m_upnp_chk->Hide();
|
m_upnp_chk->Hide();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -380,7 +382,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
|||||||
// Server tab
|
// Server tab
|
||||||
m_host_port_lbl->Show();
|
m_host_port_lbl->Show();
|
||||||
m_host_port_text->Show();
|
m_host_port_text->Show();
|
||||||
|
#ifdef USE_UPNP
|
||||||
m_upnp_chk->Show();
|
m_upnp_chk->Show();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user