Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mer][qtnetwork] Create new QNetworkSession from the new online QNetw…
…orkConfiguration. Fixes JB#34613 When network configuration configuration changes, use the QNetworkConfiguration argument within the slot as the QNetworkConfigurationManager::defaultConfiguration() points to the previous default configuration. Default configration in turn is wrong e.g. when turning WLAN on so that cellular is already enabled. This happens because the Qt Connman Bearer plugin finds the cellular AP from the access point list. Further, do not close QNetworkSession when changing from WLAN to cellular as the network session created for WLAN should be kept alive.
- Loading branch information
Showing
2 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters