fix for some new warnings in qt 5.2