Skip to content

Commit

Permalink
Fix for a compile error from an earlier commit
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5452 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 14, 2006
1 parent 883f53e commit d9f893f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,25 @@ void QgsGrassPlugin::unload()
qGisInterface->removePluginMenu(tr("&GRASS"), mOpenMapsetAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mNewMapsetAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mCloseMapsetAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mRemoveVectorAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mRemoveRasterAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mAddVectorAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mAddRasterAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mOpenToolsAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mRegionAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mEditRegionAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mEditAction);
qGisInterface->removePluginMenu(tr("&GRASS"), mNewVectorAction);

delete mOpenMapsetAction;
delete mNewMapsetAction;
delete mCloseMapsetAction;
delete mAddVectorAction;
delete mAddRasterAction;
delete mOpenToolsAction;
delete mRegionAction;
delete mEditRegionAction;
delete mEditAction;
delete mNewVectorAction;

if ( toolBarPointer )
delete toolBarPointer;
}
Expand Down

0 comments on commit d9f893f

Please sign in to comment.