qt: Uncapture mouse before exit

This commit is contained in:
Cacodemon345 2022-02-17 11:51:24 +06:00
parent be3501cfe1
commit d87d0be2f8

View File

@ -337,6 +337,7 @@ extern int nvr_save(void);
void
plat_power_off(void)
{
plat_mouse_capture(0);
confirm_exit = 0;
nvr_save();
config_save();