From a62f871da7a80d29d516cd807f6c7f5ced745a63 Mon Sep 17 00:00:00 2001 From: shenlebantongying Date: Thu, 14 Nov 2024 03:58:26 -0500 Subject: [PATCH] b --- src/hotkeywrapper.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hotkeywrapper.cc b/src/hotkeywrapper.cc index 24fbf5f6..0bc9927d 100644 --- a/src/hotkeywrapper.cc +++ b/src/hotkeywrapper.cc @@ -332,8 +332,9 @@ bool HotkeyWrapper::winEvent( MSG * message, qintptr * result ) quint32 HotkeyWrapper::nativeKey( int key ) { // 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 ) + if ( key >= Qt::Key_0 && key <= Qt::Key_9 || key >= Qt::Key_A && key <= Qt::Key_Z ) { return key; + } switch ( key ) { case Qt::Key_Space: