Qt: Hide mouse immediately when loading

This commit is contained in:
Vicki Pfau 2017-09-30 11:16:31 -07:00
parent bf0081e9b4
commit 232880bb00
2 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,7 @@ Misc:
- Qt: Allow overrides to be saved before a game is loaded
- VFS: Make VFile.truncate work growing files on PSV (fixes mgba.io/i/885)
- GBA Cheats: Improve detection of raw cheats
- Qt: Hide mouse immediately when loading
0.6.0: (2017-07-16)
Features:

View File

@ -678,6 +678,9 @@ void Window::gameStarted() {
m_hitUnimplementedBiosCall = false;
m_fpsTimer.start();
m_focusCheck.start();
if (m_display->underMouse()) {
m_screenWidget->setCursor(Qt::BlankCursor);
}
CoreController::Interrupter interrupter(m_controller, true);
mCore* core = m_controller->thread()->core;