Skip to content

Commit

Permalink
Merge pull request #2374 from randomstuff/fix-unpn
Browse files Browse the repository at this point in the history
Fix build without UPnP
  • Loading branch information
shuffle2 committed May 8, 2015
2 parents 6fe2ab7 + 469ea24 commit 9499550
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp
Expand Up @@ -354,7 +354,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
{
m_host_port_lbl->Hide();
m_host_port_text->Hide();
#ifdef USE_UPNP
m_upnp_chk->Hide();
#endif
}
}
else
Expand All @@ -380,7 +382,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
// Server tab
m_host_port_lbl->Show();
m_host_port_text->Show();
#ifdef USE_UPNP
m_upnp_chk->Show();
#endif
}
}

Expand Down

0 comments on commit 9499550

Please sign in to comment.