From: gregor herrmann Date: Thu, 5 Oct 2017 21:06:56 +0000 (+0200) Subject: update comment on default proxy value as we use QNetworkProxy::ProxyType instead... X-Git-Tag: 0.6.4~3 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/e618f1876e5eea5fe227a6b708d2bda1e8d55197 update comment on default proxy value as we use QNetworkProxy::ProxyType instead of int now --- 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());