Refactoring.
--HG-- branch : develop
This commit is contained in:
parent
7dc29c0f00
commit
49c091be38
|
@ -145,12 +145,9 @@ void QmuFormulaBase::SetSepForEval()
|
|||
void QmuFormulaBase::RemoveAll(QMap<int, QString> &map, const QString &val)
|
||||
{
|
||||
const QList<int> listKeys = map.keys(val);//Take all keys that contain token.
|
||||
if (listKeys.size() > 0)
|
||||
for (int i = 0; i < listKeys.size(); ++i)
|
||||
{
|
||||
for (int i = 0; i < listKeys.size(); ++i)
|
||||
{
|
||||
map.remove(listKeys.at(i));
|
||||
}
|
||||
map.remove(listKeys.at(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user