Changeset View
Changeset View
Standalone View
Standalone View
plugins/libarchive/libarchiveplugin.cpp
Context not available. | |||||
445 | const QString owner = QString::fromLatin1(archive_entry_uname(aentry)); | 445 | const QString owner = QString::fromLatin1(archive_entry_uname(aentry)); | ||
---|---|---|---|---|---|
446 | if (!owner.isEmpty()) { | 446 | if (!owner.isEmpty()) { | ||
447 | e->setProperty("owner", owner); | 447 | e->setProperty("owner", owner); | ||
448 | } else { | ||||
449 | e->setProperty("owner", static_cast<qlonglong>(archive_entry_uid(aentry))); | ||||
448 | } | 450 | } | ||
449 | 451 | | |||
450 | const QString group = QString::fromLatin1(archive_entry_gname(aentry)); | 452 | const QString group = QString::fromLatin1(archive_entry_gname(aentry)); | ||
451 | if (!group.isEmpty()) { | 453 | if (!group.isEmpty()) { | ||
452 | e->setProperty("group", group); | 454 | e->setProperty("group", group); | ||
455 | } else { | ||||
456 | e->setProperty("group", static_cast<qlonglong>(archive_entry_gid(aentry))); | ||||
453 | } | 457 | } | ||
454 | 458 | | |||
455 | e->compressedSizeIsSet = false; | 459 | e->compressedSizeIsSet = false; | ||
Context not available. |