Commit 606d387b authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

clizip: Also read compression method property

Parse compression method from CLI-output and set the relevant
Archive::Entry property.
parent 22550c8a
......@@ -177,6 +177,7 @@ bool CliPlugin::readListLine(const QString &line)
e->setProperty("isPasswordProtected", true);
e->setProperty("compressedSize", rxMatch.captured(6).toInt());
e->setProperty("method", rxMatch.captured(7));
const QDateTime ts(QDate::fromString(rxMatch.captured(8), QStringLiteral("yyyyMMdd")),
QTime::fromString(rxMatch.captured(9), QStringLiteral("hhmmss")));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment