maybe fix Mac specific icon bug

reported with subject "QPainter error on OSX" on the list

Leo build: 20141009130420