re #8418 resolve warnings by fixing qtiplot code that never worked
Merge branch 'feature/8418_cppcheck_performance' into develop