  					result++;
  			} else {
  				finderPenaltyAddHistory(runX, runHistory);
  				if (!runColor)
  					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;
  				runColor = module(x, y);
  				runX = 1;
  			}
  		}
  		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;
 
</s> remove 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;
 </s> add 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;
 </s> add 		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 		result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3;
 </s> add 		result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 	if (msk < 0 || msk > 7)
 </s> add 	if (msk < 0 || msk > 7)//lgtm [cpp/constant-comparison]
					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long]
  					result++;
  			} else {
  				finderPenaltyAddHistory(runX, runHistory);
  				if (!runColor)
					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long]
  				runColor = module(x, y);
  				runX = 1;
  			}
  		}
  		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;
keep keep keep keep replace keep keep keep keep keep
 fix LGTM issues (#19868)

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/widgets/QrCode.cc