Skip to content
Permalink
Browse files

fix crash in Georeferencer plugin

  • Loading branch information
slarosa committed Sep 4, 2013
1 parent 0ff6341 commit 6835703ea354f454b489ea84e4e7fbc4265bd740
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 6835703

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