From 082e910fb6570e2e7972d16b8728f9400077ac11 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 3 Jun 2025 23:18:32 -0400 Subject: fix image pasting --- src/filecache.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/filecache.cpp') diff --git a/src/filecache.cpp b/src/filecache.cpp index 66787e1..94b952d 100644 --- a/src/filecache.cpp +++ b/src/filecache.cpp @@ -40,6 +40,9 @@ void Cache::ClearCache() { for (const auto &path : std::filesystem::directory_iterator(m_tmp_path)) std::filesystem::remove_all(path); } +std::filesystem::path Cache::GetCachePath() const { + return m_tmp_path; +} void Cache::RespondFromPath(const std::filesystem::path &path, const callback_type &cb) { cb(path.string()); -- cgit v1.2.3