mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
ark: replace archive_entry_pathname_w() with archive_entry_pathname_utf8()
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>
This commit is contained in:
parent
85f69572f7
commit
de80280f54
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ void LibArchiveInterface::emitEntryFromArchiveEntry(struct archive_entry *aentry
|
|||
{
|
||||
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));
|
||||
|
|
Loading…
Add table
Reference in a new issue