Actually, McQueen was a Marine and not a sailor (he was part of President Truman’s honor guard), and women have been sailors since the WAVES branch of the USNR was formed in 1942.
In that picture from “Sand Pebbles,” McQueen is most definitely a sailor.