Use qDeleteAll for destruction of items in a list.