Skip to content
Permalink
Browse files

R.I.P. De Morgan

  • Loading branch information
elpaso committed Mar 6, 2019
1 parent 5d404cb commit e217693ad31dcc0fdb19d95a52a8519b217a749a
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgisapp.cpp
@@ -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 ),

0 comments on commit e217693

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