mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
Remove unused variable
This commit is contained in:
parent
2422d81de1
commit
f5f3dc2ba1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue