Skip to content

Commit

Permalink
Install grid shift file dialog: add .tif extension for PROJ 7 compati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
rouault authored and nyalldawson committed Jan 30, 2020
1 parent 53a98bb commit 4d80b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsinstallgridshiftdialog.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit 4d80b16

Please sign in to comment.