diff --git a/src/PrefsUnifiedDlg.cpp b/src/PrefsUnifiedDlg.cpp index 64b97c9ba..90c4086c3 100644 --- a/src/PrefsUnifiedDlg.cpp +++ b/src/PrefsUnifiedDlg.cpp @@ -497,12 +497,6 @@ bool PrefsUnifiedDlg::TransferToWindow() thePrefs::SetUPnPWebServerEnabled(false); FindWindow(IDC_UPNP_EC_ENABLED)->Enable(false); thePrefs::SetUPnPECEnabled(false); -#else - FindWindow(IDC_UPNPTCPPORT)->Enable(thePrefs::GetUPnPEnabled()); - FindWindow(IDC_UPNPTCPPORTTEXT)->Enable(thePrefs::GetUPnPEnabled()); - FindWindow(IDC_WEBUPNPTCPPORT)->Enable(thePrefs::GetUPnPWebServerEnabled()); - FindWindow(IDC_WEBUPNPTCPPORTTEXT)->Enable(thePrefs::GetUPnPWebServerEnabled()); -#endif #ifdef __DEBUG__ // Set debugging toggles