In `AnalysisDao::loadAnalysesFromQuery()` we use non-constant `QSqlQuery::exec()` method. All `QSqlQuery`s are declared in stack, so it is not obvious to use pointer. Otherwise, we need to change all places where we declare `QSqlQuery`s and pass it as method parameter to use heap instead of stack. Does it worth that?