Commit dd9cc171 authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

ParamIterator: don't cast to int redundantly

QString::length() returns an int.
The type of ParamIteratorPrivate::m_end is int.
parent f2e23dd0
......@@ -605,7 +605,7 @@ ParamIterator& ParamIterator::operator ++()
} else {
//Iterate on through parameters
d->m_cur = d->m_curEnd + 1;
if (d->m_cur < ( int ) d->m_source.length()) {
if (d->m_cur < d->m_source.length()) {
d->m_curEnd = d->next();
}
}
......@@ -623,7 +623,7 @@ ParamIterator::operator bool() const
{
Q_D(const ParamIterator);
return d->m_cur < ( int ) d->m_end;
return d->m_cur < d->m_end;
}
QString ParamIterator::prefix() const
......
Supports Markdown
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