Browse Source

- Fixed another error in HTTP proxy code

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
fbe292d06e
  1. 2
      src/options_imp.cpp

2
src/options_imp.cpp

@ -340,7 +340,7 @@ void options_imp::saveOptions(){
settings.setValue(QString::fromUtf8("IP"), getHTTPProxyIp()); settings.setValue(QString::fromUtf8("IP"), getHTTPProxyIp());
settings.setValue(QString::fromUtf8("Port"), getHTTPProxyPort()); settings.setValue(QString::fromUtf8("Port"), getHTTPProxyPort());
settings.setValue(QString::fromUtf8("Authentication"), isHTTPProxyAuthEnabled()); settings.setValue(QString::fromUtf8("Authentication"), isHTTPProxyAuthEnabled());
if(isProxyAuthEnabled()) { if(isHTTPProxyAuthEnabled()) {
// Credentials // Credentials
settings.setValue(QString::fromUtf8("Username"), getHTTPProxyUsername()); settings.setValue(QString::fromUtf8("Username"), getHTTPProxyUsername());
settings.setValue(QString::fromUtf8("Password"), getHTTPProxyPassword()); settings.setValue(QString::fromUtf8("Password"), getHTTPProxyPassword());

Loading…
Cancel
Save