Skip to content
Permalink
Browse files

Install grid shift file dialog: add .tif extension for PROJ 7 compati…

…bility
  • Loading branch information
rouault authored and nyalldawson committed Jan 29, 2020
1 parent 53a98bb commit 4d80b166ffd880943c0c1675d356b190090e3152
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsinstallgridshiftdialog.cpp
@@ -49,7 +49,7 @@ void QgsInstallGridShiftFileDialog::installFromFile()
{
QgsSettings settings;
const QString initialDir = settings.value( QStringLiteral( "lastTransformGridFolder" ), QDir::homePath(), QgsSettings::App ).toString();
const QString gridFilePath = QFileDialog::getOpenFileName( nullptr, tr( "Install %1" ).arg( mGridName ), initialDir, QStringLiteral( "%1 (%1);;" ).arg( mGridName ) + tr( "Grid Shift Files" ) + QStringLiteral( " (*.gsb *.GSB);;" ) + QObject::tr( "All files" ) + " (*)" );
const QString gridFilePath = QFileDialog::getOpenFileName( nullptr, tr( "Install %1" ).arg( mGridName ), initialDir, QStringLiteral( "%1 (%1);;" ).arg( mGridName ) + tr( "Grid Shift Files" ) + QStringLiteral( " (*.gsb *.GSB *.tif);;" ) + QObject::tr( "All files" ) + " (*)" );

if ( gridFilePath.isEmpty() )
{

0 comments on commit 4d80b16

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