re #8418 resolve warnings by fixing qtiplot code that never worked