cecilianor / Qt-thesis

MIT License
8 stars 3 forks source link

`Layerstyle.cpp` bug with `stops` and `colorStops` #96

Closed cecilianor closed 5 months ago

cecilianor commented 5 months ago

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.

image

EimenOueslati commented 5 months ago

Bug fixed on commit bbe5895 in dev branch.