mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Make sure QgsApplication members are initialized to nullptr
Just in case there's unintended dependancies between the registries
This commit is contained in:
parent
585d9dbff1
commit
cfe42c2f8d
@ -113,6 +113,20 @@ const char* QgsApplication::QGIS_APPLICATION_NAME = "QGIS3";
|
|||||||
*/
|
*/
|
||||||
QgsApplication::QgsApplication( int & argc, char ** argv, bool GUIenabled, const QString& customConfigPath, const QString& platformName )
|
QgsApplication::QgsApplication( int & argc, char ** argv, bool GUIenabled, const QString& customConfigPath, const QString& platformName )
|
||||||
: QApplication( argc, argv, GUIenabled )
|
: QApplication( argc, argv, GUIenabled )
|
||||||
|
, mActionScopeRegistry( nullptr )
|
||||||
|
, mProfiler( nullptr )
|
||||||
|
, mTaskManager( nullptr )
|
||||||
|
, mFieldFormatterRegistry( nullptr )
|
||||||
|
, mColorSchemeRegistry( nullptr )
|
||||||
|
, mPaintEffectRegistry( nullptr )
|
||||||
|
, mRendererRegistry( nullptr )
|
||||||
|
, mSvgCache( nullptr )
|
||||||
|
, mSymbolLayerRegistry( nullptr )
|
||||||
|
, mRasterRendererRegistry( nullptr )
|
||||||
|
, mGpsConnectionRegistry( nullptr )
|
||||||
|
, mDataItemProviderRegistry( nullptr )
|
||||||
|
, mPluginLayerRegistry( nullptr )
|
||||||
|
, mMessageLog( nullptr )
|
||||||
{
|
{
|
||||||
sPlatformName = platformName;
|
sPlatformName = platformName;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user