From 768b3d4b056b5631f04acbe1ed20dff60353754b Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Fri, 8 Mar 2019 12:26:49 +0100 Subject: [PATCH] fix windows build --- src/app/qgisapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index afbfa5af0a37..234edb7377db 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -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 ) &&