Skip to content
Permalink
Browse files

.qgz files are supported by default for opening

  • Loading branch information
pblottiere committed Jul 31, 2017
1 parent 49730ed commit 8ce1fb264d157a83ff73be8cbee89c79d59fa6c1
Showing with 1 addition and 3 deletions.
  1. +1 −3 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;

0 comments on commit 8ce1fb2

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