Replace all QHash instances with HashMap