This change prevent a QCharRef deprecation warning if any modifier key is pressed while the spashscreen is still displayed, for Qt >= 5.14.
As a side effect, Ctrl+Q and Shift+Q will also close the splashscreen now.
This is a backport of core PR18101