Compare commits

..

No commits in common. "a62f871da7a80d29d516cd807f6c7f5ced745a63" and "e50492323ced30a26ac228c6348e0a2180df9083" have entirely different histories.

View file

@ -331,10 +331,9 @@ 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-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 ) {
// Qt's 0-1 & 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;
}
switch ( key ) {
case Qt::Key_Space: