Skip to content
Commit cd37cc69 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

[Calculator Runner] Minor code optimisation

Summary:
Remove redunant QString::contains() checks.

Create one QRegularExpression object and use setPattern().

Test Plan: make && ctest

Reviewers: #plasma, apol, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28132
parent f444ebe5
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