[qt5] small fix for autopaster