Modernize code

2 jobs for master in 63 minutes and 38 seconds (queued for 32 minutes and 47 seconds)
Status Job ID Name Coverage
  Build
passed #66413
build_clazy_clang_tidy

00:30:08

passed #66412
linux kf5-qt5 qt5.12

00:33:30

45.0%