Fix coding style

This patch fixes the incorrect brace symmetry contained in the patch
916bc59cfb .

Change-Id: I003c89f5f2170190d1ae2f52f186862fe06a2135
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Antonio Di Monaco
2018-04-10 21:00:49 +02:00
committed by Orgad Shaneh
parent 94cb7c988b
commit bf5ba08435

View File

@@ -1681,13 +1681,11 @@ QStringList QmakeProFile::includePaths(QtSupport::ProFileReader *reader, const F
if (nextIsAnIncludePath) { if (nextIsAnIncludePath) {
nextIsAnIncludePath = false; nextIsAnIncludePath = false;
paths.append(cxxflags); paths.append(cxxflags);
} else { } else if (cxxflags.startsWith(QLatin1String("-I"))) {
if (cxxflags.startsWith(QLatin1String("-I"))) paths.append(cxxflags.mid(2));
paths.append(cxxflags.mid(2)); } else if (cxxflags.startsWith(QLatin1String("-isystem"))) {
else nextIsAnIncludePath = true;
if (cxxflags.startsWith(QLatin1String("-isystem"))) }
nextIsAnIncludePath = true;
}
} }
foreach (const ProFileEvaluator::SourceFile &el, foreach (const ProFileEvaluator::SourceFile &el,