diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-03-05 13:09:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 13:09:25 +0100 |
commit | aae60334d1d7a9dbc26bca634d1b34257c7b9566 (patch) | |
tree | 1d48f13cb0005e79433dfdb3d4509e4b41006ac9 /launcher/MMCZip.cpp | |
parent | b38af948b97eed2bc92c66db0bc64fce60a25f97 (diff) | |
parent | 06de728aa7fc5db842f03a53fb8a0f8d2b131924 (diff) | |
download | PrismLauncher-aae60334d1d7a9dbc26bca634d1b34257c7b9566.tar.gz PrismLauncher-aae60334d1d7a9dbc26bca634d1b34257c7b9566.tar.bz2 PrismLauncher-aae60334d1d7a9dbc26bca634d1b34257c7b9566.zip |
Merge pull request #911 from flowln/fix_zip_extract_windows
Diffstat (limited to 'launcher/MMCZip.cpp')
-rw-r--r-- | launcher/MMCZip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/MMCZip.cpp b/launcher/MMCZip.cpp index c6d56543..1eda43fe 100644 --- a/launcher/MMCZip.cpp +++ b/launcher/MMCZip.cpp @@ -320,7 +320,7 @@ std::optional<QStringList> MMCZip::extractSubDir(QuaZip *zip, const QString & su if (relative_file_name.isEmpty()) { target_file_path = target + '/'; } else { - target_file_path = FS::PathCombine(target_top_dir.path(), sub_path, relative_file_name); + target_file_path = FS::PathCombine(target_top_dir.toLocalFile(), sub_path, relative_file_name); if (relative_file_name.endsWith('/') && !target_file_path.endsWith('/')) target_file_path += '/'; } |