Fix some clazy warning

2 jobs for master in 38 minutes and 33 seconds (queued for 22 minutes and 58 seconds)
Status Job ID Name Coverage
  Build
passed #49570
build_clazy_clang_tidy

00:23:45

passed #49569
linux kf5-qt5 qt5.12

00:14:47

56.0%