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:
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…
x
Reference in New Issue
Block a user