Remove unused variable

This commit is contained in:
Chocobo1 2019-12-23 16:45:52 +08:00
parent 2422d81de1
commit f5f3dc2ba1
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -294,7 +294,7 @@ void AdvancedSettings::updateInterfaceAddressCombo()
m_comboBoxInterfaceAddress.addItem(tr("All IPv4 addresses"), QLatin1String("0.0.0.0"));
m_comboBoxInterfaceAddress.addItem(tr("All IPv6 addresses"), QLatin1String("::"));
const auto populateCombo = [this, &currentAddress](const QHostAddress &addr)
const auto populateCombo = [this](const QHostAddress &addr)
{
if (addr.protocol() == QAbstractSocket::IPv4Protocol) {
const QString str = addr.toString();