Squeeze warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37680 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2011-02-15 17:09:15 +00:00
parent 1a363f80e6
commit 66ca99798b

View File

@ -1593,6 +1593,8 @@ Menu::Menu(GuiView * gv, QString const & name, bool top_level, bool keyboard)
#ifdef Q_WS_WIN #ifdef Q_WS_WIN
if (keyboard) if (keyboard)
setStyle(new AlwaysMnemonicStyle); setStyle(new AlwaysMnemonicStyle);
#else
(void) keyboard;
#endif #endif
d->top_level_menu = top_level? new MenuDefinition : 0; d->top_level_menu = top_level? new MenuDefinition : 0;
d->view = gv; d->view = gv;