Use loop-range with a QHash without extra extraction of values()

Authored by kossebau on Aug 20 2018, 3:03 PM.