mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix menu bar staying hidden in full screen (fixes #317)
This commit is contained in:
parent
5321ffd227
commit
763eccd69a
3
CHANGES
3
CHANGES
|
@ -30,8 +30,7 @@ Other fixes:
|
||||||
- Switch: Fix threading-related crash on second launch
|
- Switch: Fix threading-related crash on second launch
|
||||||
- Qt: Fix FPS target maxing out at 59.727 (fixes mgba.io/i/1421)
|
- Qt: Fix FPS target maxing out at 59.727 (fixes mgba.io/i/1421)
|
||||||
- Core: Fix crashes if core directories aren't set
|
- Core: Fix crashes if core directories aren't set
|
||||||
- Qt: Cap audio buffer size to 8192 (fixes mgba.io/i/1433)
|
- Qt: Fix menu bar staying hidden in full screen (fixes mgba.io/i/317)
|
||||||
- GB Serialize: Fix loading non-BIOS state from BIOS (fixes mgba.io/i/1280)
|
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Savedata: EEPROM performance fixes
|
- GBA Savedata: EEPROM performance fixes
|
||||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||||
|
|
|
@ -821,6 +821,9 @@ void Window::gameStopped() {
|
||||||
m_display.reset();
|
m_display.reset();
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
menuBar()->show();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_DISCORD_RPC
|
#ifdef USE_DISCORD_RPC
|
||||||
DiscordCoordinator::gameStopped();
|
DiscordCoordinator::gameStopped();
|
||||||
|
@ -1042,6 +1045,9 @@ void Window::openStateWindow(LoadSave ls) {
|
||||||
m_stateWindow->setAttribute(Qt::WA_DeleteOnClose);
|
m_stateWindow->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
m_stateWindow->setMode(ls);
|
m_stateWindow->setMode(ls);
|
||||||
updateFrame();
|
updateFrame();
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
menuBar()->show();
|
||||||
|
#endif
|
||||||
attachWidget(m_stateWindow);
|
attachWidget(m_stateWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue