From 657dcbb6dc70b788f262b68ef93bd22def9a9fbc Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 3 May 2012 14:31:39 +0200 Subject: [PATCH] Revert "Port to const QRegExp behaviour." This reverts commit 6e8f714e039e9e0b850304ba3df91ab2951a350b. The Qt5 commit is going to be reverted, and this broke kreplacetest. --- runnercontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runnercontext.cpp b/runnercontext.cpp index c47dbf27c..02a4b8bc1 100644 --- a/runnercontext.cpp +++ b/runnercontext.cpp @@ -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();