Port QRegExp to QRegularExpression

Authored by ahmadsamir on Dec 23 2019, 6:27 PM.

Description

Port QRegExp to QRegularExpression

Summary:
One instance of QString::remove(QRegExp... was replaced to use the
replace overload that takes a QLatin1String.

In RunnerContext::restore, change the regex so that "id" is at least one
character, otherwise using d->launchCounts[id] doesn't make sense.

Reviewers: Plasma, davidedmundson, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D26194

Details

Committed
ahmadsamirJan 7 2020, 8:41 AM
Reviewer
apol
Differential Revision
D26194: Port QRegExp to QRegularExpression
Parents
R308:9e29d3367a78: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.66.0 release.
Branches
Unknown
Tags
Unknown