Skip to content
Permalink
Browse files

set ignoreShapeEncoding option on by default

  • Loading branch information
minorua committed Nov 20, 2012
1 parent 2613cf6 commit ddb51175e77240d55d2f5a6341f4ae0641b48318
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgsoptions.cpp
  2. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -429,7 +429,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
cbxCreateRasterLegendIcons->setChecked( settings.value( "/qgis/createRasterLegendIcons", true ).toBool() );
cbxCopyWKTGeomFromTable->setChecked( settings.value( "/qgis/copyGeometryAsWKT", true ).toBool() );
leNullValue->setText( settings.value( "qgis/nullValue", "NULL" ).toString() );
cbxIgnoreShapeEncoding->setChecked( settings.value( "/qgis/ignoreShapeEncoding", false ).toBool() );
cbxIgnoreShapeEncoding->setChecked( settings.value( "/qgis/ignoreShapeEncoding", true ).toBool() );

cmbLegendDoubleClickAction->setCurrentIndex( settings.value( "/qgis/legendDoubleClickAction", 0 ).toInt() );

@@ -206,7 +206,7 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
QgsApplication::registerOgrDrivers();

QSettings settings;
CPLSetConfigOption( "SHAPE_ENCODING", settings.value( "/qgis/ignoreShapeEncoding", false ).toBool() ? "" : 0 );
CPLSetConfigOption( "SHAPE_ENCODING", settings.value( "/qgis/ignoreShapeEncoding", true ).toBool() ? "" : 0 );

// set the selection rectangle pointer to 0
mSelectionRectangle = 0;

0 comments on commit ddb5117

Please sign in to comment.
You can’t perform that action at this time.