Disable skipping of loopback interfaces

This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
This commit is contained in:
Evengard 2017-08-21 17:33:07 +03:00 committed by sledgehammer999
parent 246a19d685
commit cfae8c6399
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -325,7 +325,6 @@ void AdvancedSettings::loadAdvancedSettings()
// https://github.com/qbittorrent/qBittorrent/pull/5135
if (iface.addressEntries().isEmpty()) continue;
if (iface.flags() & QNetworkInterface::IsLoopBack) continue;
combo_iface.addItem(iface.humanReadableName(), iface.name());
if (!current_iface.isEmpty() && (iface.name() == current_iface)) {
combo_iface.setCurrentIndex(i);