mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP37/GCS Fixed GeoCoder caching
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1084 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
b1a673db8d
commit
fbc627aeed
@ -577,7 +577,7 @@ internals::PointLatLng UrlFactory::GetLatLngFromGeocoderUrl(const QString &url,
|
||||
#endif //DEBUG_URLFACTORY
|
||||
status = GeoCoderStatusCode::Unknow;
|
||||
internals::PointLatLng ret(0,0);
|
||||
QString urlEnd = url.right(url.indexOf("geo?q="));
|
||||
QString urlEnd = url.mid(url.indexOf("geo?q=")+6);
|
||||
urlEnd.replace( QRegExp(
|
||||
"[^"
|
||||
"A-Z,a-z,0-9,"
|
||||
|
Loading…
Reference in New Issue
Block a user