update comment on default proxy value as we use QNetworkProxy::ProxyType instead...
authorgregor herrmann <gregor@toastfreeware.priv.at>
Thu, 5 Oct 2017 21:06:56 +0000 (23:06 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Thu, 5 Oct 2017 21:06:56 +0000 (23:06 +0200)
src/gui/settingsdialog.cpp

index 91f5fdc..f00ce94 100644 (file)
@@ -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());