reimplement MP audio mode 2 (active instance only)

This commit is contained in:
Arisotura
2024-11-01 02:19:29 +01:00
parent 58ee191cc8
commit 7740634e6a
4 changed files with 37 additions and 6 deletions

View File

@ -385,6 +385,10 @@ bool ScreenPanel::event(QEvent* event)
touchEvent((QTouchEvent*)event);
return true;
}
else if (event->type() == QEvent::FocusIn)
mainWindow->onFocusIn();
else if (event->type() == QEvent::FocusOut)
mainWindow->onFocusOut();
return QWidget::event(event);
}