Skip to content

Commit

Permalink
put Oracle GeoRaster plugin button to new submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Sep 6, 2014
1 parent 62a2308 commit e037697
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/oracle_raster/qgsoracle_plugin.cpp
Expand Up @@ -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

Expand Down

0 comments on commit e037697

Please sign in to comment.