From baeba633ee6a61b45e99ddc35599317eb6609b32 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 28 May 2019 22:29:51 -0700 Subject: [PATCH] Qt: Minor cleanup --- src/platform/qt/DisplayQt.cpp | 1 - src/platform/qt/Window.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/platform/qt/DisplayQt.cpp b/src/platform/qt/DisplayQt.cpp index e3c227c1b..be6403dd6 100644 --- a/src/platform/qt/DisplayQt.cpp +++ b/src/platform/qt/DisplayQt.cpp @@ -109,7 +109,6 @@ void DisplayQt::paintEvent(QPaintEvent*) { 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); diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index ddb89f737..3ef192255 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -773,18 +773,15 @@ void Window::gameStarted() { } 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); }