Commit 84dc8e1e88dde52f17aada783db60031d77e6f05
1 parent
18a33a56
Better English
Showing
2 changed files
with
1 additions
and
3 deletions
openbr/openbr_plugin.cpp
| @@ -705,7 +705,7 @@ void Object::setProperty(const QString &name, QVariant value) | @@ -705,7 +705,7 @@ void Object::setProperty(const QString &name, QVariant value) | ||
| 705 | 705 | ||
| 706 | if (metaObject()->property(index).isEnumType()) { | 706 | if (metaObject()->property(index).isEnumType()) { |
| 707 | // This is necessary because setProperty can only set enums | 707 | // This is necessary because setProperty can only set enums |
| 708 | - // using its integer value if the QVariant is of type int (or uint) | 708 | + // using their integer value if the QVariant is of type int (or uint) |
| 709 | bool ok; | 709 | bool ok; |
| 710 | int v = value.toInt(&ok); | 710 | int v = value.toInt(&ok); |
| 711 | if (ok) | 711 | if (ok) |
openbr/plugins/openbr_internal.h