diff options
-rw-r--r-- | src/ivicore/qividefaultpropertyoverrider.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivicore/qividefaultpropertyoverrider.cpp b/src/ivicore/qividefaultpropertyoverrider.cpp index 5caee81..a51a67a 100644 --- a/src/ivicore/qividefaultpropertyoverrider.cpp +++ b/src/ivicore/qividefaultpropertyoverrider.cpp @@ -497,12 +497,12 @@ bool QIviDefaultPropertyOverrider::setOverridenValue(int index, const QVariant & if (property.setOverridenValue(value, carrier)) res = true; } - return true; + return res; } int QIviDefaultPropertyOverrider::propertyCount() const { - return m_properties.size(); + return (int) m_properties.size(); } const QIviDefaultPropertyOverrider::PropertyOverride &QIviDefaultPropertyOverrider::propertyForIndex(int index) const |