From 8ce1fb264d157a83ff73be8cbee89c79d59fa6c1 Mon Sep 17 00:00:00 2001 From: Blottiere Paul Date: Tue, 11 Jul 2017 14:57:26 +0100 Subject: [PATCH] .qgz files are supported by default for opening --- src/app/qgisapp.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index 831a2031a70e..aa7be9cc71e6 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -5235,12 +5235,10 @@ void QgisApp::fileOpen() // Retrieve last used project dir from persistent settings QgsSettings settings; QString lastUsedDir = settings.value( QStringLiteral( "UI/lastProjectDir" ), QDir::homePath() ).toString(); - const QString qgs_ext = tr( "QGIS files" ) + " (*.qgs *.QGS)"; - const QString zip_ext = tr( "QGZ files" ) + " (*.qgz)"; QString fullPath = QFileDialog::getOpenFileName( this, tr( "Choose a QGIS project file to open" ), lastUsedDir, - qgs_ext + ";;" + zip_ext ); + tr( "QGIS files" ) + " (*.qgs *.qgz *.QGS)" ); if ( fullPath.isNull() ) { return;