fix: QString compilation

This commit is contained in:
Petr Mironychev
2025-10-20 18:45:23 +02:00
parent 56354e8d87
commit a0a76f2665

View File

@ -294,10 +294,11 @@ QString FindFileTool::formatResults(const QList<FileMatch> &matches,
}
if (wasTruncated) {
result += QString("\n(Note: %1 additional file%2 not shown. "
"Use 'max_results' parameter to see more.)")
result += QString(
"\n(Note: %1 additional file%2 not shown. "
"Use 'max_results' parameter to see more.)")
.arg(totalFound - matches.size())
.arg(totalFound - matches.size() == 1 ? "" : "s");
.arg(totalFound - matches.size() == 1 ? QString("") : QString("s"));
}
}