If you need to remove duplicates, why allow the duplicates to the QList in the first place? Use QList::contains() to see if a value already exists in the list before adding it.
If you need to remove duplicates, why allow the duplicates to the QList in the first place? Use QList::contains() to see if a value already exists in the list before adding it.
Bookmarks