Qt: Minor cleanup

This commit is contained in:
Vicki Pfau 2019-05-28 22:29:51 -07:00
parent fcb5a4168f
commit baeba633ee
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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);
}