[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasma
From:       Laurent Montel <montel () kde ! org>
Date:       2008-08-01 11:23:43
Message-ID: 1217589823.323365.18567.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840617 by mlaurent:

Add const


 M  +1 -1      configxml.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasma/configxml.cpp #840616:840617
@@ -468,7 +468,7 @@
         //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);*/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic