Revert "Port to const QRegExp behaviour."
This reverts commit 6e8f714e039e9e0b850304ba3df91ab2951a350b. The Qt5 commit is going to be reverted, and this broke kreplacetest.
This commit is contained in:
parent
4ce1afaa9f
commit
657dcbb6dc
@ -516,7 +516,7 @@ void RunnerContext::restore(const KConfigGroup &config)
|
||||
{
|
||||
const QStringList cfgList = config.readEntry("LaunchCounts", QStringList());
|
||||
|
||||
QRegExp r("(\\d*) (.*)");
|
||||
const QRegExp r("(\\d*) (.*)");
|
||||
foreach (const QString& entry, cfgList) {
|
||||
r.indexIn(entry);
|
||||
int count = r.cap(1).toInt();
|
||||
|
Loading…
Reference in New Issue
Block a user