added brace wrapping after if and for

This commit is contained in:
fourtf
2018-10-21 13:43:02 +02:00
parent c6e1ec3c71
commit e259b9e39f
138 changed files with 4738 additions and 2237 deletions
+4 -2
View File
@@ -67,11 +67,13 @@ const ImagePtr &ImageSet::getImage(float scale) const
else if (scale > 1.5)
quality = 2;
if (!this->imageX3_->isEmpty() && quality == 3) {
if (!this->imageX3_->isEmpty() && quality == 3)
{
return this->imageX3_;
}
if (!this->imageX2_->isEmpty() && quality == 2) {
if (!this->imageX2_->isEmpty() && quality == 2)
{
return this->imageX2_;
}