Qt: Dismiss game crashing/failing dialogs when a new game loads
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 17:24:49 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -178,6 +178,7 @@ - Qt: Minor test fixes
- PSP2: Update toolchain to use vita.cmake - Qt: Move shader settings into main settings window - GB Serialize: Add MBC state serialization + - Qt: Dismiss game crashing/failing dialogs when a new game loads 0.6 beta 1: (2017-06-29) - Initial beta for 0.6
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -824,6 +824,7 @@ tr("The game has crashed with the following error:\n\n%1").arg(errorMessage),
QMessageBox::Ok, this, Qt::Sheet); crash->setAttribute(Qt::WA_DeleteOnClose); crash->show(); + connect(m_controller, &GameController::gameStarted, crash, &QWidget::close); } void Window::gameFailed() {@@ -832,6 +833,7 @@ tr("Could not load game. Are you sure it's in the correct format?"),
QMessageBox::Ok, this, Qt::Sheet); fail->setAttribute(Qt::WA_DeleteOnClose); fail->show(); + connect(m_controller, &GameController::gameStarted, fail, &QWidget::close); } void Window::unimplementedBiosCall(int call) {