* src/frontends/qt2/QContentPane.C (q_key_state): allow both Alt and Meta as alt

modifier. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14445 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-07-13 09:25:32 +00:00
parent 33b3b933b9
commit 29eeae433c
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* QContentPane.C (q_key_state): allow both Alt and Meta as alt
modifier.
2006-06-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* ui/QPrefUIModule.ui: fix layout.

View File

@ -32,7 +32,7 @@ key_modifier::state q_key_state(Qt::ButtonState state)
k |= key_modifier::ctrl;
if (state & Qt::ShiftButton)
k |= key_modifier::shift;
if (state & Qt::AltButton)
if (state & Qt::AltButton || state & Qt::MetaButton)
k |= key_modifier::alt;
return k;
}

View File

@ -17,3 +17,11 @@ order of importance. This is, of course, subjective...]
What's new
==========
** Updates:
** Bug fixes:
* Miscellaneous
- Handle the Meta keyboard modifier as Alt (Qt only).