Qt: Show error message if file failed to load

This commit is contained in:
Vicki Pfau 2019-06-26 15:43:58 -07:00
parent 48162e75e7
commit 4731bae9e0
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -1762,6 +1762,7 @@ void Window::updateFrame() {
void Window::setController(CoreController* controller, const QString& fname) {
if (!controller) {
gameFailed();
return;
}
if (m_pendingClose) {