DolphinQt: Don't call UICommon::InhibitScreenSaver if already in desired state.

This commit is contained in:
Jordan Woyak 2020-10-22 13:19:01 -05:00
commit e8bb88c2a1
2 changed files with 6 additions and 0 deletions

View file

@ -204,6 +204,7 @@ private:
bool m_stop_requested = false;
bool m_exit_requested = false;
bool m_fullscreen_requested = false;
bool m_is_screensaver_inhibited = false;
int m_state_slot = 1;
std::unique_ptr<BootParameters> m_pending_boot;