fix: restore portable file path check (#6853)

* chore: change to snake_case naming

* fix: restore portable file path check

* fix: macosx build
This commit is contained in:
Yat Ho
2024-05-25 23:08:53 +08:00
committed by GitHub
parent adc405e5be
commit 9748f42c5a
14 changed files with 97 additions and 89 deletions

View File

@@ -219,7 +219,7 @@ OSStatus GeneratePreviewForURL(void* /*thisInterface*/, QLPreviewRequestRef prev
FileTreeNode root{};
for (auto const& [path, size] : metainfo.files().sortedByPath())
for (auto const& [path, size] : metainfo.files().sorted_by_path())
{
FileTreeNode* curNode = &root;
size_t level = 0;