Add missing bracket

This commit is contained in:
Cacodemon345
2022-09-03 02:31:03 +06:00
committed by GitHub
parent 6d4751f471
commit 915ed5ce53

View File

@@ -1616,7 +1616,7 @@ void MainWindow::keyPressEvent(QKeyEvent* event)
{ {
// Windows keys in Qt have one-to-one mapping. // Windows keys in Qt have one-to-one mapping.
if (event->key() == Qt::Key_Pause && !keyboard_recv(0x38) && !keyboard_recv(0x138)) { if (event->key() == Qt::Key_Pause && !keyboard_recv(0x38) && !keyboard_recv(0x138)) {
if ((keyboard_recv(0x1D) || keyboard_recv(0x11D)) { if ((keyboard_recv(0x1D) || keyboard_recv(0x11D))) {
keyboard_input(1, 0x46); keyboard_input(1, 0x46);
} else { } else {
keyboard_input(0, 0xE1); keyboard_input(0, 0xE1);