Change Q_FOREACH to correct for usage

Authored by hindenburg on Mar 4 2019, 12:45 AM.