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 2121#include < QMouseEvent>
2222#include < QPainter>
2323#include < QTextStream>
24+ #include < QSettings>
2425
2526#include " qgisinterface.h"
2627#include " qgsapplication.h"
@@ -563,6 +564,11 @@ void QgsPointDialog::initialize()
563564 mToolDeletePoint = new QgsGeorefTool ( mCanvas , this , FALSE /* addPoint */ );
564565 mToolDeletePoint ->setAction ( mActionDeletePoint );
565566
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+
566572 // set the currently supported transforms
567573 cmbTransformType->addItem ( tr ( " Linear" ) );
568574 cmbTransformType->addItem ( tr ( " Helmert" ) );
You can’t perform that action at this time.
0 commit comments