summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRagnar Thomsen <rthomsen6@gmail.com>2016-10-01 08:32:29 (GMT)
committerRagnar Thomsen <rthomsen6@gmail.com>2016-10-01 08:32:29 (GMT)
commit606d387b3f1b6d3d34a84b0a5d36122ed91fec1f (patch)
treeb539290d708a23a2225acbcc62365e66b827d5ec
parent22550c8a55977c2e0529ba652ea1785d1aabafe9 (diff)
clizip: Also read compression method property
Parse compression method from CLI-output and set the relevant Archive::Entry property.
-rw-r--r--plugins/clizipplugin/cliplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/clizipplugin/cliplugin.cpp b/plugins/clizipplugin/cliplugin.cpp
index f4f09f0..ec5cb99 100644
--- a/plugins/clizipplugin/cliplugin.cpp
+++ b/plugins/clizipplugin/cliplugin.cpp
@@ -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")));