http://bugzilla.lyx.org/show_bug.cgi?id=4888 is fixed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26059
a592a061-630c-0410-9148-
cb99ea01b6c8
case QEvent::ShortcutOverride: {
+#ifndef Q_WS_X11
+ // FIXME bug 4888
if (isFullScreen() && menuBar()->isHidden()) {
QKeyEvent * ke = static_cast<QKeyEvent*>(e);
// FIXME: we should also try to detect special LyX shortcut such as
menuBar()->show();
return QMainWindow::event(e);
}
+#endif
if (d.current_work_area_)
// Nothing special to do.
break;
}
+ // Part of automatic menu appearance feature.
if (isFullScreen()) {
if (menuBar()->isVisible())
menuBar()->hide();