Browse Source

Disable map upnp option if built without USE_UPNP

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
cddc003e70
  1. 4
      gui/src/optionsdialog.cpp

4
gui/src/optionsdialog.cpp

@ -207,6 +207,10 @@ MainOptionsPage::MainOptionsPage(QWidget *parent): @@ -207,6 +207,10 @@ MainOptionsPage::MainOptionsPage(QWidget *parent):
connect(connect_socks4, SIGNAL(toggled(bool)), proxy_ip, SLOT(setEnabled(bool)));
connect(connect_socks4, SIGNAL(toggled(bool)), proxy_port, SLOT(setEnabled(bool)));
#ifndef USE_UPNP
map_port_upnp->setDisabled(true);
#endif
}
void MainOptionsPage::setMapper(MonitoredDataMapper *mapper)

Loading…
Cancel
Save