forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
94cb7c988b
commit
bf5ba08435
@@ -1681,13 +1681,11 @@ QStringList QmakeProFile::includePaths(QtSupport::ProFileReader *reader, const F
|
||||
if (nextIsAnIncludePath) {
|
||||
nextIsAnIncludePath = false;
|
||||
paths.append(cxxflags);
|
||||
} else {
|
||||
if (cxxflags.startsWith(QLatin1String("-I")))
|
||||
paths.append(cxxflags.mid(2));
|
||||
else
|
||||
if (cxxflags.startsWith(QLatin1String("-isystem")))
|
||||
nextIsAnIncludePath = true;
|
||||
}
|
||||
} else if (cxxflags.startsWith(QLatin1String("-I"))) {
|
||||
paths.append(cxxflags.mid(2));
|
||||
} else if (cxxflags.startsWith(QLatin1String("-isystem"))) {
|
||||
nextIsAnIncludePath = true;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (const ProFileEvaluator::SourceFile &el,
|
||||
|
||||
Reference in New Issue
Block a user