fix #16,comparison for keyboard key

--fix double typo by previous mistake in order for
both Super keys to be evaluated as Super_L
pull/18/head
Michail Vourlakos 5 years ago
parent bf2c7ebbd9
commit e720f1a3c0

@ -140,7 +140,7 @@ bool ModifierTracker::singleModifierPressed(Qt::Key key)
Qt::Key ModifierTracker::normalizeKey(Qt::Key key)
{
return key == Qt::Key_Super_L || key == key == Qt::Key_Super_R ? Qt::Key_Super_L : key;
return ((key == Qt::Key_Super_L || key == Qt::Key_Super_R) ? Qt::Key_Super_L : key);
}
void ModifierTracker::cancelMetaPressed()

Loading…
Cancel
Save