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; }