Changeset 5269 in ntrip for trunk/BNC/src/map
- Timestamp:
- Jun 18, 2013, 1:40:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5253 r5269 58 58 _webView = new QWebView(this); 59 59 connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool))); 60 61 // Proxy Settings 62 // -------------- 63 bncSettings settings; 64 QString proxyHost = settings.value("proxyHost").toString(); 65 int proxyPort = settings.value("proxyPort").toInt(); 66 if (!proxyHost.isEmpty()) { 67 QNetworkProxy proxy(QNetworkProxy::HttpProxy, proxyHost, proxyPort); 68 _webView->page()->networkAccessManager()->setProxy(proxy); 69 } 60 70 61 71 loadHtmlPage();
Note:
See TracChangeset
for help on using the changeset viewer.