From bf5ba08435c88bb84b4efb429c68b4b4b3a6a21a Mon Sep 17 00:00:00 2001 From: Antonio Di Monaco Date: Tue, 10 Apr 2018 21:00:49 +0200 Subject: [PATCH] Fix coding style This patch fixes the incorrect brace symmetry contained in the patch 916bc59cfbb5eddae966b0c53c024b05f76930c6 . Change-Id: I003c89f5f2170190d1ae2f52f186862fe06a2135 Reviewed-by: Tobias Hunger Reviewed-by: Orgad Shaneh --- src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp b/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp index c7407c1a7ee..cf9056cacb6 100644 --- a/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp @@ -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,