all repos — mgba @ baeba633ee6a61b45e99ddc35599317eb6609b32

mGBA Game Boy Advance Emulator

Qt: Minor cleanup
Vicki Pfau vi@endrift.com
Tue, 28 May 2019 22:29:51 -0700
commit

baeba633ee6a61b45e99ddc35599317eb6609b32

parent

fcb5a4168fed46dffb4572d193182d6b25d71b39

2 files changed, 0 insertions(+), 4 deletions(-)

jump to
M src/platform/qt/DisplayQt.cppsrc/platform/qt/DisplayQt.cpp

@@ -109,7 +109,6 @@ if (isIntegerScalingLocked()) {

ds.setWidth(ds.width() - ds.width() % m_width); ds.setHeight(ds.height() - ds.height() % m_height); } -#warning TODO: Add interframeBlending QPoint origin = QPoint((s.width() - ds.width()) / 2, (s.height() - ds.height()) / 2); QRect full(origin, ds);
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -773,18 +773,15 @@ }

} m_actions.rebuildMenu(menuBar(), this, *m_shortcutController); - #ifdef USE_DISCORD_RPC DiscordCoordinator::gameStarted(m_controller); #endif } void Window::gameStopped() { -#ifdef M_CORE_GBA for (Action* action : m_platformActions) { action->setEnabled(true); } -#endif for (Action* action : m_gameActions) { action->setEnabled(false); }