Replace QList::toSet() and QSet::fromList() with standard QSet constructor.
QList::toSet()
QSet::fromList()
QSet