Minor fix in qt for windows