Changeset View
Changeset View
Standalone View
Standalone View
plugins/clirarplugin/cliplugin.cpp
Show First 20 Lines • Show All 292 Lines • ▼ Show 20 Line(s) | 292 | if (m_isPasswordProtected) { | |||
---|---|---|---|---|---|
293 | m_isRAR5 ? emit encryptionMethodFound(QStringLiteral("AES256")) : emit encryptionMethodFound(QStringLiteral("AES128")); | 293 | m_isRAR5 ? emit encryptionMethodFound(QStringLiteral("AES256")) : emit encryptionMethodFound(QStringLiteral("AES128")); | ||
294 | } | 294 | } | ||
295 | 295 | | |||
296 | e->setProperty("fullPath", m_unrar5Details.value(QStringLiteral("name"))); | 296 | e->setProperty("fullPath", m_unrar5Details.value(QStringLiteral("name"))); | ||
297 | e->setProperty("size", m_unrar5Details.value(QStringLiteral("size"))); | 297 | e->setProperty("size", m_unrar5Details.value(QStringLiteral("size"))); | ||
298 | e->setProperty("compressedSize", m_unrar5Details.value(QStringLiteral("packed size"))); | 298 | e->setProperty("compressedSize", m_unrar5Details.value(QStringLiteral("packed size"))); | ||
299 | e->setProperty("permissions", m_unrar5Details.value(QStringLiteral("attributes"))); | 299 | e->setProperty("permissions", m_unrar5Details.value(QStringLiteral("attributes"))); | ||
300 | e->setProperty("CRC", m_unrar5Details.value(QStringLiteral("crc32"))); | 300 | e->setProperty("CRC", m_unrar5Details.value(QStringLiteral("crc32"))); | ||
301 | e->setProperty("BLAKE2", m_unrar5Details.value(QStringLiteral("blake2"))); | ||||
301 | 302 | | |||
302 | if (e->property("permissions").toString().startsWith(QLatin1Char('l'))) { | 303 | if (e->property("permissions").toString().startsWith(QLatin1Char('l'))) { | ||
303 | e->setProperty("link", m_unrar5Details.value(QStringLiteral("target"))); | 304 | e->setProperty("link", m_unrar5Details.value(QStringLiteral("target"))); | ||
304 | } | 305 | } | ||
305 | 306 | | |||
306 | m_unrar5Details.clear(); | 307 | m_unrar5Details.clear(); | ||
307 | emit entry(e); | 308 | emit entry(e); | ||
308 | } | 309 | } | ||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |