Changeset 9706 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 4, 2022, 2:17:32 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncnetqueryv2.cpp

    r8203 r9706  
    2828  _secure    = secure;
    2929  _manager   = new QNetworkAccessManager(this);
    30   connect(_manager, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&,
    31                                                        QAuthenticator*)),
    32           this, SLOT(slotProxyAuthenticationRequired(const QNetworkProxy&,
    33                                                      QAuthenticator*)));
     30  connect(_manager, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)),
     31          this, SLOT(slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)));
    3432  _reply     = 0;
    3533  _eventLoop = new QEventLoop(this);
     
    125123  if (_url.path().isEmpty()) {
    126124    _url.setPath("/");
    127   }
    128 
    129   // Proxy Settings
    130   // --------------
    131   bncSettings settings;
    132   QString proxyHost = settings.value("proxyHost").toString();
    133   int     proxyPort = settings.value("proxyPort").toInt();
    134 
    135   if (!proxyHost.isEmpty()) {
    136     QNetworkProxy proxy(QNetworkProxy::HttpProxy, proxyHost, proxyPort);
    137     _manager->setProxy(proxy);
    138125  }
    139126
Note: See TracChangeset for help on using the changeset viewer.