Commit 5f79138b authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

clirar: Emit compressionMethodFound signal for unrar 3/4

We should also detect compression method when using the older unrar
versions.
parent 50a9f590
......@@ -328,6 +328,10 @@ bool CliPlugin::handleUnrar4Line(const QString &line)
return false;
}
// If we reach this point, then we can be sure that it's not a RAR5
// archive, so assume RAR4.
emit compressionMethodFound(QStringList{QStringLiteral("RAR4")});
if (rxCommentEnd.match(line).hasMatch()) {
if (line.startsWith(QLatin1String("Volume "))) {
......
Markdown is supported
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