Skip to content
Permalink
Browse files

Revert "fix build with grass"

This reverts commit e5c9092.
  • Loading branch information
3nids committed Feb 20, 2018
1 parent 5c06166 commit 3d3a2dabca04c271acd634a1727d0bef97246866
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/grass/qgsgrassoptions.cpp
  2. +1 −1 src/providers/grass/qgsgrassprovidermodule.cpp
@@ -71,7 +71,7 @@ QgsGrassOptions::QgsGrassOptions( QWidget *parent )
mModulesDebugCheckBox->setChecked( QgsGrass::modulesDebug() );

// Browser
QgsRasterProjector::Precision crsTransform = ( QgsRasterProjector::Precision ) settings.value( mImportSettingsPath + "/crsTransform", QgsRasterProjector::Approximate ).toInt();
QgsRasterProjector::Precision crsTransform = settings.enumSettingValue( mImportSettingsPath + "/crsTransform", QgsRasterProjector::Approximate );
mCrsTransformationComboBox->addItem( QgsRasterProjector::precisionLabel( QgsRasterProjector::Approximate ), QgsRasterProjector::Approximate );
mCrsTransformationComboBox->addItem( QgsRasterProjector::precisionLabel( QgsRasterProjector::Exact ), QgsRasterProjector::Exact );
mCrsTransformationComboBox->setCurrentIndex( mCrsTransformationComboBox->findData( crsTransform ) );
@@ -846,7 +846,7 @@ bool QgsGrassMapsetItem::handleDrop( const QMimeData *data, Qt::DropAction )
projector->destExtentSize( rasterProvider->extent(), rasterProvider->xSize(), rasterProvider->ySize(),
newExtent, newXSize, newYSize );
}
QgsRasterProjector::Precision precision = ( QgsRasterProjector::Precision ) settings.value( QStringLiteral( "GRASS/browser/import/crsTransform" ), QgsRasterProjector::Approximate ).toInt();
QgsRasterProjector::Precision precision = settings.enumSettingValue( QStringLiteral( "GRASS/browser/import/crsTransform" ), QgsRasterProjector::Approximate );
projector->setPrecision( precision );

pipe->set( projector );

0 comments on commit 3d3a2da

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