interfaces: remove now unused 'use_upnp' arg from 'mapPort'

This commit is contained in:
Antoine Poinsot
2024-10-20 20:45:12 +02:00
parent 038bbe7b20
commit a5fcfb7385
6 changed files with 6 additions and 6 deletions

View File

@@ -526,7 +526,7 @@ bool OptionsModel::setOption(OptionID option, const QVariant& value, const std::
case MapPortNatpmp: // core option - can be changed on-the-fly
if (changed()) {
update(value.toBool());
node().mapPort(false, value.toBool());
node().mapPort(value.toBool());
}
break;
case MinimizeOnClose: