fixed bug with reference 'unselected' not defined in QListQidget visitor