Commit f06a5db2 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools: Fix condition in file size check

Change-Id: I71d67f1273bad025b8dff45b3903b458f5cda2a2
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 41447573
......@@ -623,7 +623,7 @@ static QSet<QString> tooBigFilesRemoved(const QSet<QString> &files, int fileSize
while (i.hasNext()) {
const QString filePath = i.next();
fileInfo.setFile(filePath);
if (skipFileDueToSizeLimit(fileInfo), fileSizeLimit)
if (skipFileDueToSizeLimit(fileInfo, fileSizeLimit))
continue;
result << filePath;
......
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