Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix crash on startup
  • Loading branch information
jef-n committed Apr 21, 2016
1 parent 5d0be31 commit 09ced9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -566,6 +566,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
, mProjectLastModified()
, mWelcomePage( nullptr )
, mCentralContainer( nullptr )
, mMapStylingDock( nullptr )
{
if ( smInstance )
{
Expand Down Expand Up @@ -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 );
Expand Down

2 comments on commit 09ced9b

@NathanW2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry my bad.

@tomchadwin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.