Commit b0e902a7 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix warning.



Change-Id: I277d036e9652b5558b5cd39c5a3075af458209e8
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent de1a6432
......@@ -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()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment