From 85ac2da5b4f75da5c63a8344750f3e4c6f48639d Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 26 Jun 2023 21:17:50 -0300 Subject: [PATCH] qt: Fix fullscreen shortcut not activating --- src/qt/qt_mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index e7ced9c67..d571c7266 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -1282,12 +1282,12 @@ MainWindow::keyReleaseEvent(QKeyEvent *event) } } - if (fs_off_signal && (video_fullscreen > 0) && keyboard_isfsexit_down()) { + if (fs_off_signal && (video_fullscreen > 0) && keyboard_isfsexit()) { ui->actionFullscreen->trigger(); fs_off_signal = false; } - if (fs_on_signal && (video_fullscreen == 0) && keyboard_isfsenter_down()) { + if (fs_on_signal && (video_fullscreen == 0) && keyboard_isfsenter()) { ui->actionFullscreen->trigger(); fs_on_signal = false; }