Skip to content
Permalink
Browse files

fix crash in Georeferencer plugin

  • Loading branch information
slarosa authored and timlinux committed Sep 6, 2013
1 parent 75fa352 commit ca1301ba83ecb13ac06e5ff47cd8adffcad11df5
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/plugins/georeferencer/qgsgeorefplugin.cpp
@@ -125,6 +125,7 @@ void QgsGeorefPlugin::unload()
mQGisIface->removeRasterToolBarIcon( mActionRunGeoref );

delete mActionRunGeoref;
mActionRunGeoref = 0;

delete mPluginGui;
mPluginGui = NULL;
@@ -133,7 +134,8 @@ void QgsGeorefPlugin::unload()
//! Set icons to the current theme
void QgsGeorefPlugin::setCurrentTheme( QString )
{
mActionRunGeoref->setIcon( getThemeIcon( "/mGeorefRun.png" ) );
if ( mActionRunGeoref )
mActionRunGeoref->setIcon( getThemeIcon( "/mGeorefRun.png" ) );
}

QIcon QgsGeorefPlugin::getThemeIcon( const QString &theName )

0 comments on commit ca1301b

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