mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-24 11:28:36 -06:00
Qt: remove duplicate paths in game list
This commit is contained in:
parent
313b967217
commit
171e6c6e54
@ -593,6 +593,10 @@ void game_list_frame::Refresh(const bool fromDrive, const bool scrollAfter)
|
||||
}
|
||||
}
|
||||
|
||||
// Remove duplicates
|
||||
sort(path_list.begin(), path_list.end());
|
||||
path_list.erase(unique(path_list.begin(), path_list.end()), path_list.end());
|
||||
|
||||
QSet<QString> serials;
|
||||
|
||||
QMutex mutex_cat;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user