ahmadsamir added a comment.
FTR, a recent discussion on #kde-devel on Freenode, which involved QSet and toSet(), made me understand why the original code was using toSet(), then fromSet(), it was to remove duplicates as QSet doesn't allow duplicates. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D26101 To: ahmadsamir, #baloo, meven, bruns, astippich, dfaure Cc: alexeymin, kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams