Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
b8d25964
Commit
b8d25964
authored
May 22, 2016
by
Nate Weibley
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3388 from WillRam/proxy
use system proxy settings when fetching maps
parents
a16372a6
6dd11e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
QGCMapUrlEngine.cpp
src/QtLocationPlugin/QGCMapUrlEngine.cpp
+3
-1
No files found.
src/QtLocationPlugin/QGCMapUrlEngine.cpp
View file @
b8d25964
...
...
@@ -46,6 +46,8 @@ UrlFactory::UrlFactory()
if
(
langs
.
length
()
>
0
)
{
_language
=
langs
[
0
];
}
QNetworkProxyFactory
::
setUseSystemConfiguration
(
true
);
// Google version strings
_versionGoogleMap
=
"m@336"
;
_versionGoogleSatellite
=
"194"
;
...
...
@@ -446,7 +448,7 @@ UrlFactory::_tryCorrectGoogleVersions(QNetworkAccessManager* networkManager)
QNetworkRequest
qheader
;
QNetworkProxy
proxy
=
networkManager
->
proxy
();
QNetworkProxy
tProxy
;
tProxy
.
setType
(
QNetworkProxy
::
No
Proxy
);
tProxy
.
setType
(
QNetworkProxy
::
Default
Proxy
);
networkManager
->
setProxy
(
tProxy
);
QString
url
=
"http://maps.google.com/maps"
;
qheader
.
setUrl
(
QUrl
(
url
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment