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:
David Faure 2012-05-03 14:31:39 +02:00
parent 4ce1afaa9f
commit 657dcbb6dc

View File

@ -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();