mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 21:34:53 +02:00
Trim else after return
This commit is contained in:
parent
388a70502e
commit
ad1a98b85a
1 changed files with 26 additions and 26 deletions
|
@ -544,7 +544,8 @@ TestFilter::TestFilter(const QString& filterString) {
|
||||||
if (foundCategoryIt == propertyToProfileCategory.cend()) {
|
if (foundCategoryIt == propertyToProfileCategory.cend()) {
|
||||||
error = "Invalid test filter property '" + referenceVariant + "'";
|
error = "Invalid test filter property '" + referenceVariant + "'";
|
||||||
return;
|
return;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
ProfileCategory selectedFilterCategory = foundCategoryIt->second;
|
ProfileCategory selectedFilterCategory = foundCategoryIt->second;
|
||||||
for (auto allowedVariantIt = ++(allowedVariants.cbegin()); allowedVariantIt != allowedVariants.cend(); ++allowedVariantIt) {
|
for (auto allowedVariantIt = ++(allowedVariants.cbegin()); allowedVariantIt != allowedVariants.cend(); ++allowedVariantIt) {
|
||||||
auto& currentVariant = *allowedVariantIt;
|
auto& currentVariant = *allowedVariantIt;
|
||||||
|
@ -573,7 +574,6 @@ TestFilter::TestFilter(const QString& filterString) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TestFilter::isValid() const {
|
bool TestFilter::isValid() const {
|
||||||
|
|
Loading…
Reference in a new issue