From 0ea083cbd4013cf2e709a3e3810ae96167585a74 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 Sep 2022 22:17:34 +0200 Subject: Matrix: better name for clipboard file (with extension), give pantalaimon files proper filenames when downloading --- include/DownloadUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/DownloadUtils.hpp') diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 7e46d8b..48ee309 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -32,6 +32,6 @@ namespace QuickMedia { // Note: if |cloudflare_bypass| is set to true then tls is limited to version 1.1 and the user agent is changed. DownloadResult download_to_file(const std::string &url, const std::string &destination_filepath, const std::vector &additional_args, bool use_browser_useragent = false, bool cloudflare_bypass = false); // Returns false if there was an error trying to create the download process - bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool no_video); + bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool no_video, const std::string &filename); DownloadResult download_to_json(const std::string &url, rapidjson::Document &result, const std::vector &additional_args, bool use_browser_useragent = false, bool fail_on_error = true); } \ No newline at end of file -- cgit v1.2.3