Add missing const + Q_REQUIRED_RESULT

2 jobs for master in 30 minutes and 19 seconds (queued for 23 minutes and 27 seconds)