forked from qt-creator/qt-creator
Fix warning.
Change-Id: I277d036e9652b5558b5cd39c5a3075af458209e8 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -402,6 +402,7 @@ void MenuActionContainer::removeMenu(QMenu *menu)
|
||||
m_menu->removeAction(menu->menuAction());
|
||||
}
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
static bool menuInMenuBar(const QMenu *menu)
|
||||
{
|
||||
foreach (const QWidget *widget, menu->menuAction()->associatedWidgets()) {
|
||||
@@ -410,6 +411,7 @@ static bool menuInMenuBar(const QMenu *menu)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool MenuActionContainer::updateInternal()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user