Skip to content
Snippets Groups Projects
Commit a7b329a2 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

simplify

parent 36fb96b6
No related branches found
No related tags found
No related merge requests found
...@@ -122,9 +122,5 @@ void ProFileReader::errorMessage(const QString &message) ...@@ -122,9 +122,5 @@ void ProFileReader::errorMessage(const QString &message)
ProFile *ProFileReader::proFileFor(const QString &name) ProFile *ProFileReader::proFileFor(const QString &name)
{ {
QMap<QString, ProFile *>::const_iterator it = m_includeFiles.constFind(name); return m_includeFiles.value(name);
if (it == m_includeFiles.constEnd())
return 0;
else
return it.value();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment