mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 22:14:32 +00:00
Remove unused variable
This commit is contained in:
parent
2422d81de1
commit
f5f3dc2ba1
@ -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, ¤tAddress](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…
x
Reference in New Issue
Block a user