Port away from foreach and apply clang-tidy fixits
This changes were basically suggested by QtCreators integrated clang-tidy. It would be nice if someone more experienced with Qt / c++ modernization could have a look at it nevertheless.
This changes were basically suggested by QtCreators integrated clang-tidy. It would be nice if someone more experienced with Qt / c++ modernization could have a look at it nevertheless.