Use fromUtf8() like the other functions in this class do.
Change-Id: If25c8e8dc2562f68774002bfd11719227cbb4713
Reviewed-on: http://codereview.qt-project.org/5715
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
int QDeclarativePropertyMapMetaObject::createProperty(const char *name, const char *value)
{
- if (!priv->validKeyName(name))
+ if (!priv->validKeyName(QString::fromUtf8(name)))
return -1;
return QDeclarativeOpenMetaObject::createProperty(name, value);
}