Skip to content

Commit 8ce1fb2

Browse files
committedJul 31, 2017
.qgz files are supported by default for opening
1 parent 49730ed commit 8ce1fb2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5235,12 +5235,10 @@ void QgisApp::fileOpen()
52355235
// Retrieve last used project dir from persistent settings
52365236
QgsSettings settings;
52375237
QString lastUsedDir = settings.value( QStringLiteral( "UI/lastProjectDir" ), QDir::homePath() ).toString();
5238-
const QString qgs_ext = tr( "QGIS files" ) + " (*.qgs *.QGS)";
5239-
const QString zip_ext = tr( "QGZ files" ) + " (*.qgz)";
52405238
QString fullPath = QFileDialog::getOpenFileName( this,
52415239
tr( "Choose a QGIS project file to open" ),
52425240
lastUsedDir,
5243-
qgs_ext + ";;" + zip_ext );
5241+
tr( "QGIS files" ) + " (*.qgs *.qgz *.QGS)" );
52445242
if ( fullPath.isNull() )
52455243
{
52465244
return;

0 commit comments

Comments
 (0)
Please sign in to comment.