QNAM: Correct logic of network monitor when bearer is disabled
Change-Id: I0abe9034874a80423ad1e332404236dc5ff54365 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
6c3bca01d9
commit
c9eb9411cf
@ -1462,7 +1462,7 @@ QNetworkReply *QNetworkAccessManager::createRequest(QNetworkAccessManager::Opera
|
|||||||
// immediately set 'networkAccessible' even before we start
|
// immediately set 'networkAccessible' even before we start
|
||||||
// the monitor.
|
// the monitor.
|
||||||
#ifdef QT_NO_BEARERMANAGEMENT
|
#ifdef QT_NO_BEARERMANAGEMENT
|
||||||
if (d->networkAccessible
|
if (!d->networkAccessible
|
||||||
#else
|
#else
|
||||||
if (d->networkAccessible == NotAccessible
|
if (d->networkAccessible == NotAccessible
|
||||||
#endif // QT_NO_BEARERMANAGEMENT
|
#endif // QT_NO_BEARERMANAGEMENT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user