There is a potential bug in the Layerstyle.cpp file.
Eimen should check this out and either debug it or let Cecilia know what to do to fix it. There are other possible locations where this error may be, but this is the only one that QCreator was complaining about. The entire file should be checked manually for errors like this one.
Note the following about loop styling
Qt recommends that if expressions in loops are very long, they should wrap to the next line. And when they do that, symbols/operators start the next line, they don't end on the previous line. This is why the for loops are styled the way they are across multiple lines.
Bug Information
There is a potential bug in the
Layerstyle.cpp
file.Eimen should check this out and either debug it or let Cecilia know what to do to fix it. There are other possible locations where this error may be, but this is the only one that QCreator was complaining about. The entire file should be checked manually for errors like this one.
Note the following about loop styling
Qt recommends that if expressions in loops are very long, they should wrap to the next line. And when they do that, symbols/operators start the next line, they don't end on the previous line. This is why the
for
loops are styled the way they are across multiple lines.