Skip to content

Commit

Permalink
Use application proxy when setting global proxy setting via network s…
Browse files Browse the repository at this point in the history
…ettings

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jul 22, 2024
1 parent 564be17 commit eeb9cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/networksettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void NetworkSettings::saveProxySettings()
_account->setProxyPassword(password);

if (useGlobalProxy) {
_account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::DefaultProxy));
_account->networkAccessManager()->setProxy(QNetworkProxy::applicationProxy());
} else {
const auto proxy = QNetworkProxy(proxyType, host, port, user, password);
_account->networkAccessManager()->setProxy(proxy);
Expand Down

0 comments on commit eeb9cc2

Please sign in to comment.