mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-03 14:38:08 +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 (...) {
|
catch (...) {
|
||||||
/* todo: log maybe? */
|
/* todo: log maybe? */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::sort(target.begin(), target.end(), std::locale(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
DirectoryAdapter::DirectoryAdapter() {
|
DirectoryAdapter::DirectoryAdapter() {
|
||||||
|
Loading…
Reference in New Issue
Block a user