Fix meta on mac

This commit is contained in:
ArsenArsen 2017-07-23 16:56:28 +02:00
parent 828285373e
commit 3ba317c6e2

View File

@ -21,7 +21,8 @@ HotkeyInputDialog::~HotkeyInputDialog() {
void HotkeyInputDialog::keyPressEvent(QKeyEvent *e) {
if (e->key() == Qt::Key_Shift || e->key() == Qt::Key_Control || e->key() == Qt::Key_Alt || e->key() == Qt::Key_AltGr
|| e->key() == Qt::Key_Context1 || e->key() == Qt::Key_Context2 || e->key() == Qt::Key_Context3 || e->key() == Qt::Key_Context4)
|| e->key() == Qt::Key_Context1 || e->key() == Qt::Key_Context2 || e->key() == Qt::Key_Context3
|| e->key() == Qt::Key_Context4 || e->key() == Qt::Key_Meta)
return;
if (recording) {
QKeySequence seq(e->modifiers() + e->key());