Skip to content

Commit

Permalink
Use absolute path
Browse files Browse the repository at this point in the history
Co-authored-by: Dalton Messmer <[email protected]>
  • Loading branch information
sakertooth and messmerd authored Feb 2, 2025
1 parent 7e34dad commit efc5165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/SampleCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ auto SampleCache::fetch(const QString& path) -> std::shared_ptr<SampleBuffer>
// Can be removed if proven that other threads are requesting samples besides the main thread
assert(QThread::currentThread() == QCoreApplication::instance()->thread());

const auto fsPath = PathUtil::pathFromQString(path);
const auto fsPath = PathUtil::pathFromQString(PathUtil::toAbsolute(path));
auto entry = AudioFileEntry{fsPath, std::filesystem::last_write_time(fsPath)};
return get(std::move(entry), s_audioFileMap, path);
}
Expand Down

0 comments on commit efc5165

Please sign in to comment.