mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-09 20:21:22 +00:00
Disable map upnp option if built without USE_UPNP
This commit is contained in:
parent
e29b623db3
commit
cddc003e70
@ -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_ip, SLOT(setEnabled(bool)));
|
||||||
connect(connect_socks4, SIGNAL(toggled(bool)), proxy_port, 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)
|
void MainOptionsPage::setMapper(MonitoredDataMapper *mapper)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user