I am working on a Qt App where I have a QListView. There are few items present in the list. My application requires items to be rearranged according to user\'s choice. Every
Use the QAbstractItemView::clearSelection function.
If you have subclassed QListView you can just call it with clearSelection();
QListView
clearSelection();