From 66d51d71f98e05359aa07cb89f60fcf658c367fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sun, 9 Jul 2006 17:30:21 +0000 Subject: [PATCH] Let Meta be an alias for Alt git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14404 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt3/QContentPane.C | 2 +- src/frontends/qt4/GuiWorkArea.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt3/QContentPane.C b/src/frontends/qt3/QContentPane.C index 62bea30815..7e38b328f7 100644 --- a/src/frontends/qt3/QContentPane.C +++ b/src/frontends/qt3/QContentPane.C @@ -36,7 +36,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; } diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index bb7a4e72bf..d17d6aefd6 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -65,7 +65,7 @@ key_modifier::state q_key_state(Qt::ButtonState state) k |= key_modifier::ctrl; if (state & Qt::ShiftModifier) k |= key_modifier::shift; - if (state & Qt::AltModifier) + if (state & Qt::AltModifier || state & Qt::MetaModifier) k |= key_modifier::alt; return k; }