diff options
author | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-01-03 15:29:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 15:29:03 +0000 |
commit | f070eafce473c49979cfe8ec1d2dd65de9084884 (patch) | |
tree | fa0f7febeabd389a5f5f684cb2aa60e7d7fe20fe | |
parent | 78419dbce1a176ab60bd2f46ba6fb2add180832c (diff) |
Fix return value of Archive::ExtractFileFromArchive
-rw-r--r-- | src/frontend/qt_sdl/ArchiveUtil.cpp | 2 |
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}; } |