Qt: Fix menu bar staying hidden in full screen (fixes #317)
Vicki Pfau vi@endrift.com
Sat, 08 Jun 2019 16:12:09 -0700
2 files changed,
7 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -30,8 +30,7 @@ - Core: Improved lockstep driver reliability (Le Hoang Quyen)
- Switch: Fix threading-related crash on second launch - Qt: Fix FPS target maxing out at 59.727 (fixes mgba.io/i/1421) - Core: Fix crashes if core directories aren't set - - Qt: Cap audio buffer size to 8192 (fixes mgba.io/i/1433) - - GB Serialize: Fix loading non-BIOS state from BIOS (fixes mgba.io/i/1280) + - Qt: Fix menu bar staying hidden in full screen (fixes mgba.io/i/317) Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -821,6 +821,9 @@ if (m_pendingClose) {
m_display.reset(); close(); } +#ifndef Q_OS_MAC + menuBar()->show(); +#endif #ifdef USE_DISCORD_RPC DiscordCoordinator::gameStopped();@@ -1042,6 +1045,9 @@ }
m_stateWindow->setAttribute(Qt::WA_DeleteOnClose); m_stateWindow->setMode(ls); updateFrame(); +#ifndef Q_OS_MAC + menuBar()->show(); +#endif attachWidget(m_stateWindow); }