From 17026e35538a6938b12156236c31541627e5be89 Mon Sep 17 00:00:00 2001 From: shenlebantongying Date: Thu, 14 Nov 2024 03:54:17 -0500 Subject: [PATCH] c --- src/hotkeywrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotkeywrapper.cc b/src/hotkeywrapper.cc index 33daf1fb..24fbf5f6 100644 --- a/src/hotkeywrapper.cc +++ b/src/hotkeywrapper.cc @@ -331,7 +331,7 @@ bool HotkeyWrapper::winEvent( MSG * message, qintptr * result ) /// Ref: https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes quint32 HotkeyWrapper::nativeKey( int key ) { - // Qt's 0-1 & A-Z overlaps with Windows's VK + // Qt's 0-9 & A-Z overlaps with Windows's VK if ( key >= Qt::Key_0 && key <= Qt::Key_9 || key >= Qt::Key_A && key <= Qt::Key_Z ) return key;