From 378504de2b2331697d1142de9a5bfbcbaa55802c Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Mon, 5 Aug 2019 01:27:47 -0700 Subject: [PATCH] Remove Qt bug workaround The Qt bug is fixed in 5.7.1, while we require Qt >= 5.9.0. --- src/gui/advancedsettings.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/advancedsettings.cpp b/src/gui/advancedsettings.cpp index 58e2ccb4c..303857d07 100644 --- a/src/gui/advancedsettings.cpp +++ b/src/gui/advancedsettings.cpp @@ -462,12 +462,6 @@ void AdvancedSettings::loadAdvancedSettings() bool interfaceExists = currentInterface.isEmpty(); int i = 1; for (const QNetworkInterface &iface : asConst(QNetworkInterface::allInterfaces())) { - // This line fixes a Qt bug => https://bugreports.qt.io/browse/QTBUG-52633 - // Tested in Qt 5.6.0. For more info see: - // https://github.com/qbittorrent/qBittorrent/issues/5131 - // https://github.com/qbittorrent/qBittorrent/pull/5135 - if (iface.addressEntries().isEmpty()) continue; - m_comboBoxInterface.addItem(iface.humanReadableName(), iface.name()); if (!currentInterface.isEmpty() && (iface.name() == currentInterface)) { m_comboBoxInterface.setCurrentIndex(i);