Browse Source

Merge pull request #7324 from Evengard/vpntunnels-patch

Disable skipping of loopback interfaces in settings tab
adaptive-webui-19844
Eugene Shalygin 7 years ago committed by GitHub
parent
commit
98dd2be673
  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