Port to const QRegExp behaviour.

This commit is contained in:
Stephen Kelly 2012-04-29 11:22:33 +02:00
parent a3ec111ed6
commit 54f790a2a5

View File

@ -516,7 +516,7 @@ void RunnerContext::restore(const KConfigGroup &config)
{
const QStringList cfgList = config.readEntry("LaunchCounts", QStringList());
const QRegExp r("(\\d*) (.*)");
QRegExp r("(\\d*) (.*)");
foreach (const QString& entry, cfgList) {
r.indexIn(entry);
int count = r.cap(1).toInt();