Enable unarr 7z support. Closes #113 (#115)

* Enable unarr 7z support. Closes #113
This commit is contained in:
Jeremy Douglass
2020-02-11 23:38:03 -08:00
committed by GitHub
parent 65a77daa75
commit 15c126fda5
2 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,8 @@ CompressedArchive::CompressedArchive(const QString &filePath, QObject *parent)
//open archive
ar = ar_open_rar_archive(stream);
//TODO: build unarr with 7z support and test this!
//if (!ar) ar = ar_open_7z_archive(stream);
if (!ar)
ar = ar_open_7z_archive(stream);
if (!ar)
ar = ar_open_tar_archive(stream);
//zip detection is costly, so it comes last...