Add const
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840617
This commit is contained in:
parent
ea546d6b61
commit
642828d7aa
@ -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);*/
|
||||
|
Loading…
Reference in New Issue
Block a user