Qt: Hide mouse immediately when loading

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

View File

@ -39,6 +39,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

@ -761,6 +761,9 @@ void Window::gameStarted(mCoreThread* context, const QString& fname) {
m_hitUnimplementedBiosCall = false;
m_fpsTimer.start();
m_focusCheck.start();
if (m_display->underMouse()) {
m_screenWidget->setCursor(Qt::BlankCursor);
}
m_controller->threadInterrupt();
if (m_controller->isLoaded()) {