Fix some clazy warning

2 jobs for master in 12 minutes and 13 seconds (queued for 57 minutes and 1 second)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #105986

00:07:53

passed linux kf5-qt5 qt5.15 #105985

00:04:19

12.0%