Reputation: 23581
I checked latest documentation, nothing related was found. I place a pointer to a QListWidgetItem
in my class, and I want to use some function from QListWidget
to remove this child item.
What I found was only to remove this by ID, takeItem (i)
.
Is there any better / real way to do this?
Upvotes: 3
Views: 1757
Reputation: 22376
To remove items from the list, use takeItem().
According to the docs, that is the correct method to use.
Upvotes: 3