Skip to content
Permalink
Browse files

put Oracle GeoRaster plugin button to new submenu

  • Loading branch information
alexbruy committed Sep 6, 2014
1 parent 62a2308 commit e0376977f8ed881631a259e28fa8f55078b75a04
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +1 −1 src/plugins/oracle_raster/qgsoracle_plugin.cpp
@@ -8144,12 +8144,12 @@ QMenu* QgisApp::getWebMenu( QString menuName )

void QgisApp::insertAddLayerAction( QAction *action )
{
mLayerMenu->insertAction( mActionAddLayerSeparator, action );
mAddLayerMenu->insertAction( mActionAddLayerSeparator, action );
}

void QgisApp::removeAddLayerAction( QAction *action )
{
mLayerMenu->removeAction( action );
mAddLayerMenu->removeAction( action );
}

void QgisApp::addPluginToDatabaseMenu( QString name, QAction* action )
@@ -64,7 +64,7 @@ void QgsOraclePlugin::initGui()
// Add the icon to the new layers toolbar
mQGisIface->layerToolBar()->insertAction( mQGisIface->actionAddWmsLayer(), mQActionPointer );
// Also add to Layer menu
mQGisIface->layerMenu()->insertAction( mQGisIface->actionAddWmsLayer(), mQActionPointer );
mQGisIface->insertAddLayerAction( mQActionPointer );
}
//method defined in interface

0 comments on commit e037697

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