Skip to content

Commit

Permalink
moved "oracle raster" plugin to the Database menu
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14671 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Nov 14, 2010
1 parent 9ab5f7d commit fafe8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/oracle_raster/qgsoracle_plugin.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit fafe8d7

Please sign in to comment.