Skip to content
Permalink
Browse files

allow QGZ files in selections

  • Loading branch information
Gustry authored and nyalldawson committed Feb 6, 2019
1 parent 92823d0 commit ab64527e41ed4d4f26a2ee6438a9372a9e491d37
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgsoptions.cpp
@@ -4312,6 +4312,7 @@ void QgisApp::updateProjectFromTemplates()
QgsApplication::qgisSettingsDirPath() + "project_templates" ).toString();
QDir templateDir( templateDirName );
QStringList filters( QStringLiteral( "*.qgs" ) );
filters << QStringLiteral( "*.qgz" );
templateDir.setNameFilters( filters );
QStringList templateFiles = templateDir.entryList( filters );

@@ -1281,7 +1281,7 @@ void QgsOptions::selectProjectOnLaunch()
QString projPath = QFileDialog::getOpenFileName( this,
tr( "Choose project file to open at launch" ),
lastUsedDir,
tr( "QGIS files" ) + " (*.qgs *.QGS)" );
tr( "QGIS files" ) + " (*.qgs *.qgz *.QGS *.QGZ)" );
if ( !projPath.isNull() )
{
mProjectOnLaunchLineEdit->setText( projPath );

0 comments on commit ab64527

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