Browse Source

Disable skipping of loopback interfaces

This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
adaptive-webui-19844
Evengard 7 years ago committed by Evengard
parent
commit
ea7c1ace2a
  1. 1
      src/gui/advancedsettings.cpp

1
src/gui/advancedsettings.cpp

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

Loading…
Cancel
Save