From 48e42c5417a366c786a0c3ca852c1ae66c70c9b3 Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Mon, 25 Jun 2012 10:16:11 +0300 Subject: [PATCH] fix typo in option name --- src/app/qgsmaptooloffsetcurve.cpp | 2 +- src/app/qgsoptions.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/qgsmaptooloffsetcurve.cpp b/src/app/qgsmaptooloffsetcurve.cpp index a6724aa5aadb..975dc340d3a4 100644 --- a/src/app/qgsmaptooloffsetcurve.cpp +++ b/src/app/qgsmaptooloffsetcurve.cpp @@ -353,7 +353,7 @@ void QgsMapToolOffsetCurve::setOffsetForRubberBand( double offset, bool leftSide QSettings s; int joinStyle = s.value( "/qgis/digitizing/offset_join_style", 0 ).toInt(); int quadSegments = s.value( "/qgis/digitizing/offset_quad_seg", 8 ).toInt(); - double mitreLimit = s.value( "/qgis/digitizine/offset_miter_limit", 5.0 ).toDouble(); + double mitreLimit = s.value( "/qgis/digitizing/offset_miter_limit", 5.0 ).toDouble(); GEOSGeometry* offsetGeom = GEOSOffsetCurve( geosGeom, ( leftSide > 0 ) ? offset : -offset, quadSegments, joinStyle, mitreLimit ); if ( !offsetGeom ) diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index fd677fc99ecf..b4b26f9b3708 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -504,7 +504,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) : mOffsetJoinStyleComboBox->addItem( tr( "Bevel" ), 2 ); mOffsetJoinStyleComboBox->setCurrentIndex( settings.value( "/qgis/digitizing/offset_join_style", 0 ).toInt() ); mOffsetQuadSegSpinBox->setValue( settings.value( "/qgis/digitizing/offset_quad_seg", 8 ).toInt() ); - mCurveOffsetMiterLimitComboBox->setValue( settings.value( "/qgis/digitizine/offset_miter_limit", 5.0 ).toDouble() ); + mCurveOffsetMiterLimitComboBox->setValue( settings.value( "/qgis/digitizing/offset_miter_limit", 5.0 ).toDouble() ); #ifdef Q_WS_MAC //MH: disable incremental update on Mac for now to avoid problems with resizing @@ -906,7 +906,7 @@ void QgsOptions::saveOptions() settings.setValue( "/qgis/digitizing/offset_join_style", mOffsetJoinStyleComboBox->itemData( mOffsetJoinStyleComboBox->currentIndex() ).toInt() ); settings.setValue( "/qgis/digitizing/offset_quad_seg", mOffsetQuadSegSpinBox->value() ); - settings.setValue( "/qgis/digitizine/offset_miter_limit", mCurveOffsetMiterLimitComboBox->value() ); + settings.setValue( "/qgis/digitizing/offset_miter_limit", mCurveOffsetMiterLimitComboBox->value() ); // // Locale settings