Commit 566ad961 authored by Toni Asensi Esteve's avatar Toni Asensi Esteve

Solve a "possible misuse of a comma operator" warning

Revision: !23
parent 0f153592
......@@ -223,11 +223,12 @@ long KrArcHandler::arcFileCount(const QString& archive, const QString& type, con
else if (type == "rar") lister << KrServices::fullPathName(KrServices::cmdExist("rar") ? "rar" : "unrar") << "l" << "-v";
else if (type == "ace") lister << KrServices::fullPathName("unace") << "l";
else if (type == "arj") {
if (KrServices::cmdExist("arj"))
lister << KrServices::fullPathName("arj") << "v" << "-y" << "-v",
if (KrServices::cmdExist("arj")) {
lister << KrServices::fullPathName("arj") << "v" << "-y" << "-v";
divideWith = 4;
else
} else {
lister << KrServices::fullPathName("unarj") << "l";
}
} else if (type == "rpm") lister << KrServices::fullPathName("rpm") << "--dump" << "-lpq";
else if (type == "deb") lister << KrServices::fullPathName("dpkg") << "-c";
else if (type == "7z") lister << find7zExecutable() << "-y" << "l";
......
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