Just remove all those hard-coded QMdiWindow system menu actions...
Because on Windows setting the shortcut to nothing doesn't work. BUG:399339
(cherry picked from commit c59cd318046bf4f4e298133afe6895bdee8bf1cc)