From 7b594a635ee1f5f33ba878477b92f7318b491718 Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Wed, 11 Jan 2017 00:13:31 +0100 Subject: [PATCH] Set upper version limit for QTBUG-52633 The bug seems to be fixed in version 5.7.1. --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 5ba1f70b7..584ceea65 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -1939,7 +1939,7 @@ void Session::networkConfigurationChange(const QNetworkConfiguration& cfg) // workaround for QTBUG-52633: check interface IPs, react only if the IPs have changed // seems to be present only with NetworkManager, hence Q_OS_LINUX -#if defined Q_OS_LINUX && QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) // && QT_VERSION <= QT_VERSION_CHECK(5, ?, ?) +#if defined Q_OS_LINUX && QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) && QT_VERSION < QT_VERSION_CHECK(5, 7, 1) static QStringList boundIPs = getListeningIPs(); const QStringList newBoundIPs = getListeningIPs(); if ((configuredInterfaceName == changedInterface) && (boundIPs != newBoundIPs)) {