| 907 | } |
| 908 | |
| 909 | static std::vector<FileDescription> transform_zip_list(const std::vector<std::wstring> &list) { |
| 910 | std::vector<FileDescription> l; |
| 911 | for (auto &f : list) { |
| 912 | if (!PathMatchSpec(f.c_str(), L"*.zip")) |
| 913 | continue; |
| 914 | FileDescription fd; |
| 915 | fd.path = f; |
| 916 | fd.title = f.substr(0, f.length() - 4); |
| 917 | l.push_back(fd); |
| 918 | } |
| 919 | return l; |
| 920 | } |
| 921 | |
| 922 | void DownloadDictionariesDialog::update_file_list_async_web_proxy(const std::wstring &full_path) { |
| 923 | // temporary workaround for xsmf_control.h bug |
no test coverage detected