Fix return value of Archive::ExtractFileFromArchive

This commit is contained in:
WaluigiWare64 2021-01-03 15:29:03 +00:00 committed by GitHub
parent 78419dbce1
commit f070eafce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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};
}