From b7e1ac840f17ede487ff4c8f67925e476140ed95 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 31 Dec 2023 16:43:32 -0500 Subject: [PATCH] Add necessary Qt change. --- OSBindings/Qt/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSBindings/Qt/mainwindow.cpp b/OSBindings/Qt/mainwindow.cpp index f46df4ae8..c8913c5c0 100644 --- a/OSBindings/Qt/mainwindow.cpp +++ b/OSBindings/Qt/mainwindow.cpp @@ -889,7 +889,7 @@ bool MainWindow::processEvent(QKeyEvent *event) { if(!keyboardMachine) return true; auto &keyboard = keyboardMachine->get_keyboard(); - keyboard.set_key_pressed(*key, event->text().size() ? event->text()[0].toLatin1() : '\0', isPressed, false); + keyboard.set_key_pressed(*key, event->text().size() ? event->text()[0].toLatin1() : '\0', isPressed, event->isAutoRepeat()); if(keyboard.is_exclusive() || keyboard.observed_keys().find(*key) != keyboard.observed_keys().end()) { return false; }