archive_entry_pathname_w() is supposedly going to be removed/deprecated in
libarchive v4, see bottom of:
https://github.com/libarchive/libarchive/wiki/Filenames
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
{
ArchiveEntry e;
- e[FileName] = QDir::fromNativeSeparators(QString::fromWCharArray(archive_entry_pathname_w(aentry)));
+ e[FileName] = QDir::fromNativeSeparators(QString::fromUtf8(archive_entry_pathname_utf8(aentry)));
e[InternalID] = e[FileName];
const QString owner = QString::fromAscii(archive_entry_uname(aentry));