mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-31 15:14:06 +00:00
Added sorting to the directory browser
This commit is contained in:
parent
469a2596c7
commit
119a369d36
@ -81,6 +81,8 @@ void buildDirectoryList(const path& p, std::vector<std::string>& target)
|
||||
catch (...) {
|
||||
/* todo: log maybe? */
|
||||
}
|
||||
|
||||
std::sort(target.begin(), target.end(), std::locale(""));
|
||||
}
|
||||
|
||||
DirectoryAdapter::DirectoryAdapter() {
|
||||
|
Loading…
Reference in New Issue
Block a user