Skip to content
Permalink
Browse files
Fix for a compile error from an earlier commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5452 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 14, 2006
1 parent a19a3aa commit 9d66d7c082030522cc4a06cf6c3c47f19ea58f40
Showing with 13 additions and 2 deletions.
  1. +13 −2 src/plugins/grass/qgsgrassplugin.cpp
@@ -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;
}

0 comments on commit 9d66d7c

Please sign in to comment.