Qt: Minor cleanup
Vicki Pfau vi@endrift.com
Tue, 28 May 2019 22:29:51 -0700
2 files changed,
0 insertions(+),
4 deletions(-)
M
src/platform/qt/DisplayQt.cpp
→
src/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.cpp
→
src/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); }