mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Qt: remove duplicate paths in game list
This commit is contained in:
parent
313b967217
commit
171e6c6e54
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue