Commit 7472e158 authored by Ragnar Thomsen's avatar Ragnar Thomsen

cli7z: Fix detection of number of archive volumes

parent 0f4ae19b
......@@ -166,7 +166,8 @@ bool CliPlugin::readListLine(const QString& line)
qCWarning(ARK) << "Unsupported archive type";
return false;
}
} else if (line.startsWith(QStringLiteral("Volumes = "))) {
m_numberOfVolumes = line.section(QLatin1Char('='), 1).trimmed().toInt();
} else if (rxComment.match(line).hasMatch()) {
m_parseState = ParseStateComment;
m_comment.append(line.section(QLatin1Char('='), 1) + QLatin1Char('\n'));
......
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