mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Set upper version limit for QTBUG-52633
The bug seems to be fixed in version 5.7.1.
This commit is contained in:
parent
88b2b26007
commit
7b594a635e
1 changed files with 1 additions and 1 deletions
|
@ -1939,7 +1939,7 @@ void Session::networkConfigurationChange(const QNetworkConfiguration& cfg)
|
||||||
|
|
||||||
// workaround for QTBUG-52633: check interface IPs, react only if the IPs have changed
|
// 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
|
// 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();
|
static QStringList boundIPs = getListeningIPs();
|
||||||
const QStringList newBoundIPs = getListeningIPs();
|
const QStringList newBoundIPs = getListeningIPs();
|
||||||
if ((configuredInterfaceName == changedInterface) && (boundIPs != newBoundIPs)) {
|
if ((configuredInterfaceName == changedInterface) && (boundIPs != newBoundIPs)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue