fixes warnings reported by clang or clazy (from QtCreator)
Summary: fixes warnings reported by clang or clazy (from QtCreator)
Test Plan: the automatic tests are OK
Reviewers: Elisa, astippich
Reviewed By: Elisa, astippich
Differential Revision: https://phabricator.kde.org/D12460