Remove WindowsWindowFunctions usage
This is now the default behavior with Qt6 and the WindowsWindow functions do not exist anymore.