This commit is contained in:
Arisotura 2021-04-25 11:54:08 +02:00
parent 18497d396d
commit f8bb1aa98d
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ bool IsRightModKey(QKeyEvent* event)
quint32 scan = event->nativeScanCode(); quint32 scan = event->nativeScanCode();
return (scan == 0x11D || scan == 0x138 || scan == 0x36); return (scan == 0x11D || scan == 0x138 || scan == 0x36);
} }
#elifdef __APPLE__ #elif __APPLE__
bool IsRightModKey(QKeyEvent* event) bool IsRightModKey(QKeyEvent* event)
{ {
quint32 scan = event->nativeVirtualKey(); quint32 scan = event->nativeVirtualKey();