From e618f1876e5eea5fe227a6b708d2bda1e8d55197 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Thu, 5 Oct 2017 23:06:56 +0200 Subject: [PATCH] update comment on default proxy value as we use QNetworkProxy::ProxyType instead of int now --- src/gui/settingsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 91f5fdc..f00ce94 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -36,7 +36,7 @@ void SettingsDialog::loadDialogData() address->setText(AppSettings::proxyAddress()); port->setValue(AppSettings::proxyPort()); const QNetworkProxy::ProxyType proxyType = AppSettings::proxyType(); - proxyTypeHTTP->setChecked(proxyType != QNetworkProxy::Socks5Proxy); // we enable it by default unless SOCKS5=1 + proxyTypeHTTP->setChecked(proxyType != QNetworkProxy::Socks5Proxy); // we enable QNetworkProxy::HttpProxy by default unless we have QNetworkProxy::Socks5Proxy proxyTypeSOCKS5->setChecked(proxyType == QNetworkProxy::Socks5Proxy); directConnection->setChecked(AppSettings::isDirectConnection()); proxyWidget->setDisabled(directConnection->isChecked()); -- 2.39.5