fix Qt/clang warnings