Navigation Menu

Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 8, 2019
1 parent c732dfd commit 768b3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -5644,7 +5644,7 @@ void QgisApp::fileOpenAfterLaunch()
}

// Is this a storage based project?
const bool projectIsFromStorage { QgsApplication::instance()->projectStorageRegistry()->projectStorageFromUri( projPath ) };
const bool projectIsFromStorage { QgsApplication::instance()->projectStorageRegistry()->projectStorageFromUri( projPath ) != nullptr };

if ( !projectIsFromStorage &&
!projPath.endsWith( QLatin1String( ".qgs" ), Qt::CaseInsensitive ) &&
Expand Down

0 comments on commit 768b3d4

Please sign in to comment.