Changeset 9151 in ntrip


Ignore:
Timestamp:
Sep 30, 2020, 3:35:45 PM (3 weeks ago)
Author:
stuerze
Message:

minor changes to use system proxy settings if nothing is available from config file

File:
1 edited

Legend:

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

    r9142 r9151  
    4444#include <QFile>
    4545#include <iostream>
    46 #include <QNetworkProxy>
     46#include <QNetworkProxyFactory>
    4747
    4848#include "app.h"
     
    395395    QNetworkProxy::setApplicationProxy(proxy);
    396396  }
     397  else {
     398    QNetworkProxyFactory::setUseSystemConfiguration(true);
     399  }
    397400
    398401  for (int ii = 1; ii < argc - 2; ii++) {
Note: See TracChangeset for help on using the changeset viewer.