Skip to content
Permalink
Browse files

moved "oracle raster" plugin to the Database menu

git-svn-id: http://svn.osgeo.org/qgis/trunk@14671 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler
brushtyler committed Nov 14, 2010
1 parent 9ab5f7d commit fafe8d77c76bd6870d0d058834ae52c82bc77e7b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/oracle_raster/qgsoracle_plugin.cpp
@@ -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;
}

0 comments on commit fafe8d7

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