Skip to content

Commit 09ced9b

Browse files
committed
fix crash on startup
1 parent 5d0be31 commit 09ced9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/qgisapp.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
566566
, mProjectLastModified()
567567
, mWelcomePage( nullptr )
568568
, mCentralContainer( nullptr )
569+
, mMapStylingDock( nullptr )
569570
{
570571
if ( smInstance )
571572
{
@@ -2767,7 +2768,7 @@ void QgisApp::initLayerTreeView()
27672768
mActionStyleDock->setToolTip( tr( "Open the map styling dock" ) );
27682769
mActionStyleDock->setIcon( QgsApplication::getThemeIcon( "propertyicons/symbology.png" ) );
27692770
connect( mActionStyleDock, SIGNAL( toggled( bool ) ), this, SLOT( mapStyleDock( bool ) ) );
2770-
connect( mMapStylingDock, SIGNAL( visibilityChanged(bool) ), mActionStyleDock, SLOT( setChecked(bool) ) );
2771+
connect( mMapStylingDock, SIGNAL( visibilityChanged( bool ) ), mActionStyleDock, SLOT( setChecked( bool ) ) );
27712772

27722773
// expand / collapse tool buttons
27732774
QAction* actionExpandAll = new QAction( tr( "Expand All" ), this );

0 commit comments

Comments
 (0)