Fix return value of Archive::ExtractFileFromArchive
This commit is contained in:
parent
78419dbce1
commit
f070eafce4
|
@ -94,7 +94,7 @@ QVector<QString> ExtractFileFromArchive(const char* path, const char* wantedFile
|
||||||
archiveBuffer.reset(nullptr);
|
archiveBuffer.reset(nullptr);
|
||||||
archive_read_close(a);
|
archive_read_close(a);
|
||||||
archive_read_free(a);
|
archive_read_free(a);
|
||||||
return QVector<QString> {QDir::toNativeSeparators(QDir::currentPath() + "/" + fileToWrite)};
|
return QVector<QString> {fileToWrite};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue