commit f3fcff708c91ab76c9714baf624920ff4431b117
parent 0fb84fa951b960be426265a14b41ed830529ac39
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 10 Feb 2021 00:17:38 +0300
oo-mapper: fix patch
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pkgs/applications/gis/openorienteering-mapper/add-nakarte-link.patch b/pkgs/applications/gis/openorienteering-mapper/add-nakarte-link.patch
@@ -1,14 +1,14 @@
diff --git i/src/gui/georeferencing_dialog.cpp w/src/gui/georeferencing_dialog.cpp
-index bcec0943..b2d6ae70 100644
+index 51fd0086..d04f7b0e 100644
--- i/src/gui/georeferencing_dialog.cpp
+++ w/src/gui/georeferencing_dialog.cpp
-@@ -394,15 +394,12 @@ void GeoreferencingDialog::projectionChanged()
+@@ -392,15 +392,12 @@ void GeoreferencingDialog::projectionChanged()
double longitude = latlon.longitude();
setValueIfChanged(lat_edit, latitude);
setValueIfChanged(lon_edit, longitude);
- QString osm_link =
-- QString::fromLatin1("http://www.openstreetmap.org/?lat=%1&lon=%2&zoom=18&layers=M").
-- arg(latitude).arg(longitude);
+- QString::fromLatin1("https://www.openstreetmap.org/?mlat=%1&mlon=%2&zoom=18&layers=M").
+- arg(latitude, 0, 'g', 10).arg(longitude, 0, 'g', 10);
- QString worldofo_link =
- QString::fromLatin1("http://maps.worldofo.com/?zoom=15&lat=%1&lng=%2").
+ QString nakarte_link =