[Calculator Runner] Minor code optimisation
ClosedPublic

Authored by ahmadsamir on Mar 18 2020, 5:30 PM.

Details

Summary

Remove redunant QString::contains() checks.

Create one QRegularExpression object and use setPattern().

Test Plan

make && ctest

Diff Detail

Repository
R120 Plasma Workspace
Branch
l-calcrun (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 23892
Build 23910: arc lint + arc unit
ahmadsamir created this revision.Mar 18 2020, 5:30 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 18 2020, 5:30 PM
ahmadsamir requested review of this revision.Mar 18 2020, 5:30 PM
davidedmundson accepted this revision.Mar 18 2020, 6:38 PM
This revision is now accepted and ready to land.Mar 18 2020, 6:38 PM
This revision was automatically updated to reflect the committed changes.