Let Meta be an alias for Alt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14404 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-07-09 17:30:21 +00:00
parent 0961bc2d97
commit 66d51d71f9
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}