diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-02-23 02:12:19 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-01-07 18:07:09 +0200 |
commit | a39f7336a3b493d46a4486c4c94fdca1b3151370 (patch) | |
tree | 4adf1ae61b5b02f5081b5dbcee09b64503b0947f /src/qt/optionsdialog.cpp | |
parent | 28acffd9d53ec437e908abb8c84497a4f41b91ed (diff) |
net: Add -natpmp command line option
Diffstat (limited to 'src/qt/optionsdialog.cpp')
-rw-r--r-- | src/qt/optionsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index d3677f0773..4057712a41 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -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); |