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,11 +1681,9 @@ 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
|
} else if (cxxflags.startsWith(QLatin1String("-isystem"))) {
|
||||||
if (cxxflags.startsWith(QLatin1String("-isystem")))
|
|
||||||
nextIsAnIncludePath = true;
|
nextIsAnIncludePath = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user