Just remove all those hard-coded QMdiWindow system menu actions...
Because on Windows setting the shortcut to nothing doesn't work. BUG:399339