Using vector instead of list in QThread, created frame around the delegate