Add QtCreator code style.
Fix warnings. Bad boy, Alex!