clazy fixes
- QHash instead of QMap for pointers
- QStringListeral instead of QString global static
- Construct QVector directly from QSet instead of going via QList
- Use loops with with loop variable in context to avoid reusing the variable
- Use leftRef() instead of left()
- Use value() instead of []
- Remove unused variables