mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #2374 from randomstuff/fix-unpn
Fix build without UPnP
This commit is contained in:
commit
94995503aa
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue