From f070eafce473c49979cfe8ec1d2dd65de9084884 Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Sun, 3 Jan 2021 15:29:03 +0000 Subject: [PATCH] Fix return value of Archive::ExtractFileFromArchive --- src/frontend/qt_sdl/ArchiveUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/ArchiveUtil.cpp b/src/frontend/qt_sdl/ArchiveUtil.cpp index e007095e..f7ca8e6a 100644 --- a/src/frontend/qt_sdl/ArchiveUtil.cpp +++ b/src/frontend/qt_sdl/ArchiveUtil.cpp @@ -94,7 +94,7 @@ QVector ExtractFileFromArchive(const char* path, const char* wantedFile archiveBuffer.reset(nullptr); archive_read_close(a); archive_read_free(a); - return QVector {QDir::toNativeSeparators(QDir::currentPath() + "/" + fileToWrite)}; + return QVector {fileToWrite}; }