Fix painter not active problem

does not create QPainter w/o argument in order to supress the warning mesage of 
"painter not activated"