Commit a7b329a2 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

simplify

parent 36fb96b6
......@@ -122,9 +122,5 @@ void ProFileReader::errorMessage(const QString &message)
ProFile *ProFileReader::proFileFor(const QString &name)
{
QMap<QString, ProFile *>::const_iterator it = m_includeFiles.constFind(name);
if (it == m_includeFiles.constEnd())
return 0;
else
return it.value();
return m_includeFiles.value(name);
}
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