Fix minor code style issues in qttools_core