Merge pull request #7324 from Evengard/vpntunnels-patch

Disable skipping of loopback interfaces in settings tab
This commit is contained in:
Eugene Shalygin 2017-08-22 14:03:11 +02:00 committed by GitHub
commit 98dd2be673

View File

@ -329,7 +329,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);