Commit afb84cfe authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

svn path=/trunk/KDE/kdeedu/kmplot/; revision=862141
parent 57a23fed
......@@ -575,7 +575,7 @@ void KmPlotIO::parseParameters( const QDomElement &n, Function * function )
QString tagName = (version < 5) ? "parameterlist" : "parameter-list";
QStringList str_parameters = n.namedItem( tagName ).toElement().text().split( separator, QString::SkipEmptyParts );
for( QStringList::Iterator it = str_parameters.begin(); it != str_parameters.end(); ++it )
for( QStringList::const_iterator it = str_parameters.begin(); it != str_parameters.end(); ++it )
function->m_parameters.list.append( Value( *it ));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment