Skip to content
Extraits de code Groupes Projets

UI improvements

Fusionnées Kubat a demandé de fusionner app-fonts vers master

Fichiers

+ 1
1
@@ -89,7 +89,7 @@ AssFactory::checkValidity() const noexcept
@@ -89,7 +89,7 @@ AssFactory::checkValidity() const noexcept
const SectionContent::const_iterator end = assInfo.end();
const SectionContent::const_iterator end = assInfo.end();
while (it != end) {
while (it != end) {
bool ok = false;
bool ok = false;
if (intTypeFields.contains(it.key()) && (it.value().toInt(&ok), !ok)) {
if (intTypeFields.contains(it.key()) && (static_cast<void>(it.value().toInt(&ok)), !ok)) {
qCritical() << it.key() << "is not an integer:" << it.value();
qCritical() << it.key() << "is not an integer:" << it.value();
return false;
return false;
}
}
Chargement en cours