mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
9ab5f7de22
commit
fafe8d77c7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user