Skip to content
Permalink
Browse files

fix crash on startup

  • Loading branch information
jef-n committed Apr 21, 2016
1 parent 5d0be31 commit 09ced9bf99c8e70d618dc45d7755ff5751f9cdf5
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -566,6 +566,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
, mProjectLastModified()
, mWelcomePage( nullptr )
, mCentralContainer( nullptr )
, mMapStylingDock( nullptr )
{
if ( smInstance )
{
@@ -2767,7 +2768,7 @@ void QgisApp::initLayerTreeView()
mActionStyleDock->setToolTip( tr( "Open the map styling dock" ) );
mActionStyleDock->setIcon( QgsApplication::getThemeIcon( "propertyicons/symbology.png" ) );
connect( mActionStyleDock, SIGNAL( toggled( bool ) ), this, SLOT( mapStyleDock( bool ) ) );
connect( mMapStylingDock, SIGNAL( visibilityChanged(bool) ), mActionStyleDock, SLOT( setChecked(bool) ) );
connect( mMapStylingDock, SIGNAL( visibilityChanged( bool ) ), mActionStyleDock, SLOT( setChecked( bool ) ) );

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

2 comments on commit 09ced9b

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied Apr 21, 2016

Sorry my bad.

@tomchadwin

This comment has been minimized.

Copy link
Contributor

@tomchadwin tomchadwin replied Apr 21, 2016

I am so glad I don't know C++. This caused a crash?!

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