mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
0731078d5f
commit
168ceb8763
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user