Commit b5efe301 authored by Raphael Kubo da Costa (rakuco)'s avatar Raphael Kubo da Costa (rakuco)
Browse files

Simplify expression

svn path=/trunk/KDE/kdeutils/ark/; revision=982333
parent d7f690e0
......@@ -78,8 +78,7 @@ void BatchExtract::addExtraction(Kerfuffle::Archive* archive, bool preservePaths
}
Kerfuffle::ExtractionOptions options;
if (preservePaths)
options["PreservePaths"] = true;
options["PreservePaths"] = preservePaths;
Kerfuffle::ExtractJob *job = archive->copyFiles(
QVariantList(), //extract all files
......
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