compile without foreach
- R307:5db114c9aad3: [kpeople] make it compile without foreach
lst used to be called keys, there's no particular reason to rename it.
(the qAsConst isn't technically needed since this method is const; but it doesn't hurt either)
const & would be even better.
(It'll get lengthy, so this might be a reason to switch for const auto & here, although some might object that the type isn't visible in the code here)