1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-13 04:58:18 +03:00

fix #16,comparison for keyboard key

--fix double typo by previous mistake in order for
both Super keys to be evaluated as Super_L
This commit is contained in:
Michail Vourlakos 2020-07-10 21:07:39 +03:00
parent bf2c7ebbd9
commit e720f1a3c0

View File

@ -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()