Qt 4.5 Christmas part 2

Now menu works smoothly in fullscreen under linux too

http://www.lyx.org/trac/ticket/4888



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29527 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-05-03 23:33:39 +00:00
parent 0731078d5f
commit 168ceb8763

View File

@ -817,8 +817,8 @@ bool GuiView::event(QEvent * e)
case QEvent::ShortcutOverride: {
#ifndef Q_WS_X11
// FIXME bug 4888
// See bug 4888
#if (!defined Q_WS_X11) || (QT_VERSION >= 0x040500)
if (isFullScreen() && menuBar()->isHidden()) {
QKeyEvent * ke = static_cast<QKeyEvent*>(e);
// FIXME: we should also try to detect special LyX shortcut such as