mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 02:33:07 +02:00
net: Add -natpmp command line option
This commit is contained in:
@@ -53,7 +53,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
|
||||
#endif
|
||||
connect(this, &QDialog::accepted, [this](){
|
||||
QSettings settings;
|
||||
model->node().mapPort(settings.value("fUseUPnP").toBool());
|
||||
model->node().mapPort(settings.value("fUseUPnP").toBool(), settings.value("fUseNatpmp").toBool());
|
||||
});
|
||||
|
||||
ui->proxyIp->setEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user