modernize code

2 jobs for master in 11 minutes and 15 seconds (queued for 76 minutes and 15 seconds)
Status Job ID Name Coverage
  Build
failed #88727
build_clazy_clang_tidy

00:06:18

passed #88726
linux kf5-qt5 qt5.15

00:04:56

0.0%
 
Name Stage Failure
failed
build_clazy_clang_tidy Build
-- Configuring incomplete, errors occurred!
See also "/builds/pim/kmail-account-wizard/build/CMakeFiles/CMakeOutput.log".
See also "/builds/pim/kmail-account-wizard/build/CMakeFiles/CMakeError.log".
Uploading artifacts for failed job
Uploading artifacts...
WARNING: JUnitTestResults.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1