qt: do not adjust csd button state when the application is dying
Related merge request !7077 to merge qt/fixsporadiccrashonclosewithcsdclosebuttonwin32
merge request
20 jobs
16 minutes 7 seconds, queued for 3 seconds