mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Return the menu id instead of 0
git-svn-id: http://svn.osgeo.org/qgis/trunk@3199 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
e3f307e610
commit
68025a0b1e
@ -3734,10 +3734,7 @@ void QgisApp::populateMenuMaps()
|
||||
}
|
||||
int QgisApp::addPluginMenu(QString menuText, QPopupMenu *menu)
|
||||
{
|
||||
mPluginMenu->insertItem(menuText, menu);
|
||||
// added cuz windows wants the return
|
||||
// TODO - fix this up later
|
||||
return 0;
|
||||
return mPluginMenu->insertItem(menuText, menu);
|
||||
}
|
||||
|
||||
int QgisApp::addPluginToolBarIcon (QAction * qAction)
|
||||
|
Loading…
x
Reference in New Issue
Block a user