From 642828d7aa319a8b039e6b341ad6cbd35ed99fbb Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 1 Aug 2008 11:23:42 +0000 Subject: [PATCH] Add const svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840617 --- configxml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configxml.cpp b/configxml.cpp index 8249d0926..eb302dd68 100644 --- a/configxml.cpp +++ b/configxml.cpp @@ -468,7 +468,7 @@ void ConfigXmlHandler::addItem() //FIXME: the split() is naive and will break on lists with ,'s in them QStringList tmpList = m_default.split(","); KUrl::List defaultList; - foreach (QString tmp, tmpList) { + foreach (const QString& tmp, tmpList) { defaultList.append(KUrl(tmp)); } item = m_config->addItemUrlList(m_name, *d->newUrlList(), defaultList, m_key);*/