mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00: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…
x
Reference in New Issue
Block a user