moved "oracle raster" plugin to the Database menu

git-svn-id: http://svn.osgeo.org/qgis/trunk@14671 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
brushtyler 2010-11-14 22:57:48 +00:00
parent 9ab5f7de22
commit fafe8d77c7

View File

@ -60,7 +60,7 @@ void QgsOraclePlugin::initGui()
connect( mQActionPointer, SIGNAL( triggered() ), this, SLOT( run() ) );
// Add the icon to the toolbar
mQGisIface->addToolBarIcon( mQActionPointer );
mQGisIface->addPluginToMenu( tr( "&Oracle Spatial" ), mQActionPointer );
mQGisIface->addPluginToDatabaseMenu( tr( "&Oracle Spatial" ), mQActionPointer );
}
//method defined in interface
@ -88,7 +88,7 @@ void QgsOraclePlugin::run()
void QgsOraclePlugin::unload()
{
// remove the GUI
mQGisIface->removePluginMenu( "&Oracle Spatial", mQActionPointer );
mQGisIface->removePluginDatabaseMenu( "&Oracle Spatial", mQActionPointer );
mQGisIface->removeToolBarIcon( mQActionPointer );
delete mQActionPointer;
}