Browse Source

Remove unused variable

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
f5f3dc2ba1
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/advancedsettings.cpp

2
src/gui/advancedsettings.cpp

@ -294,7 +294,7 @@ void AdvancedSettings::updateInterfaceAddressCombo()
m_comboBoxInterfaceAddress.addItem(tr("All IPv4 addresses"), QLatin1String("0.0.0.0")); m_comboBoxInterfaceAddress.addItem(tr("All IPv4 addresses"), QLatin1String("0.0.0.0"));
m_comboBoxInterfaceAddress.addItem(tr("All IPv6 addresses"), QLatin1String("::")); 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) { if (addr.protocol() == QAbstractSocket::IPv4Protocol) {
const QString str = addr.toString(); const QString str = addr.toString();

Loading…
Cancel
Save