mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-29 10:47:52 -05:00
qt: continue event loop during game close
This commit is contained in:
@ -259,3 +259,9 @@ void OverlayDialog::InputThread() {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
}
|
||||
}
|
||||
|
||||
void OverlayDialog::keyPressEvent(QKeyEvent* e) {
|
||||
if (!ui->buttonsDialog->isHidden() || e->key() != Qt::Key_Escape) {
|
||||
QDialog::keyPressEvent(e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user