aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-01-03 15:29:03 +0000
committerGitHub <noreply@github.com>2021-01-03 15:29:03 +0000
commitf070eafce473c49979cfe8ec1d2dd65de9084884 (patch)
treefa0f7febeabd389a5f5f684cb2aa60e7d7fe20fe
parent78419dbce1a176ab60bd2f46ba6fb2add180832c (diff)
Fix return value of Archive::ExtractFileFromArchive
-rw-r--r--src/frontend/qt_sdl/ArchiveUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/ArchiveUtil.cpp b/src/frontend/qt_sdl/ArchiveUtil.cpp
index e007095..f7ca8e6 100644
--- a/src/frontend/qt_sdl/ArchiveUtil.cpp
+++ b/src/frontend/qt_sdl/ArchiveUtil.cpp
@@ -94,7 +94,7 @@ QVector<QString> ExtractFileFromArchive(const char* path, const char* wantedFile
archiveBuffer.reset(nullptr);
archive_read_close(a);
archive_read_free(a);
- return QVector<QString> {QDir::toNativeSeparators(QDir::currentPath() + "/" + fileToWrite)};
+ return QVector<QString> {fileToWrite};
}