Skip to content

Commit

Permalink
R.I.P. De Morgan
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Mar 6, 2019
1 parent 5d404cb commit e217693
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgisapp.cpp
Expand Up @@ -5646,9 +5646,9 @@ void QgisApp::fileOpenAfterLaunch()
// Is this a storage based project?
const bool projectIsFromStorage { QgsApplication::instance()->projectStorageRegistry()->projectStorageFromUri( projPath ) };

if ( !( projectIsFromStorage ||
projPath.endsWith( QLatin1String( ".qgs" ), Qt::CaseInsensitive ) ||
projPath.endsWith( QLatin1String( ".qgz" ), Qt::CaseInsensitive ) ) )
if ( !projectIsFromStorage &&
!projPath.endsWith( QLatin1String( ".qgs" ), Qt::CaseInsensitive ) &&
!projPath.endsWith( QLatin1String( ".qgz" ), Qt::CaseInsensitive ) )
{
visibleMessageBar()->pushMessage( autoOpenMsgTitle,
tr( "Not valid project file: %1" ).arg( projPath ),
Expand Down

0 comments on commit e217693

Please sign in to comment.