mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Made Windows BYTE typedef uppercase in attempt to get QHotkey to compile with MSVC 2019.
This commit is contained in:
committed by
Hennadii Chernyshchyk
parent
c501fbbada
commit
6b1c6f1f4e
@@ -235,7 +235,7 @@ quint32 QHotkeyPrivateWin::nativeKeycode(Qt::Key keycode, bool &ok)
|
||||
|
||||
default:
|
||||
if(keycode <= 0xFFFF)
|
||||
return (byte)keycode;
|
||||
return (BYTE)keycode;
|
||||
else {
|
||||
ok = false;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user