return a single value not an array in case the QListWidget is in
Qt::SingleSelection mode (done only property, in setProperty there
should maybe be a warning if the list has more than 1 element?)