File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/plugins/georeferencer Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 21
21
#include < QMouseEvent>
22
22
#include < QPainter>
23
23
#include < QTextStream>
24
+ #include < QSettings>
24
25
25
26
#include " qgisinterface.h"
26
27
#include " qgsapplication.h"
@@ -563,6 +564,11 @@ void QgsPointDialog::initialize()
563
564
mToolDeletePoint = new QgsGeorefTool ( mCanvas , this , FALSE /* addPoint */ );
564
565
mToolDeletePoint ->setAction ( mActionDeletePoint );
565
566
567
+ QSettings mySettings;
568
+ int action = mySettings.value ( " /qgis/wheel_action" , 0 ).toInt ();
569
+ double zoomFactor = mySettings.value ( " /qgis/zoom_factor" , 2 ).toDouble ();
570
+ mCanvas ->setWheelAction (( QgsMapCanvas::WheelAction ) action, zoomFactor );
571
+
566
572
// set the currently supported transforms
567
573
cmbTransformType->addItem ( tr ( " Linear" ) );
568
574
cmbTransformType->addItem ( tr ( " Helmert" ) );
You can’t perform that action at this time.
0 commit comments