From 4731bae9e00a39c0ba2090846f16296704442514 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 26 Jun 2019 15:43:58 -0700 Subject: [PATCH] Qt: Show error message if file failed to load --- CHANGES | 1 + src/platform/qt/Window.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 2b334801f..b649f2abc 100644 --- a/CHANGES +++ b/CHANGES @@ -67,6 +67,7 @@ Misc: - Core: Create game-related paths if they don't exist (fixes mgba.io/i/1446) - Qt: Add option to pause on minimizing window (closes mgba.io/i/1379) - Switch: Support file associations + - Qt: Show error message if file failed to load 0.7.2: (2019-05-25) Emulation fixes: diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 19ff6ffab..b1eea01d5 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -1762,6 +1762,7 @@ void Window::updateFrame() { void Window::setController(CoreController* controller, const QString& fname) { if (!controller) { + gameFailed(); return; } if (m_pendingClose) {