diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-06-03 21:16:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-05 15:34:21 +0200 |
commit | e9eca3ecf778097c034eb76e930c9a7e4e3e6194 (patch) | |
tree | 95b19283379afe7c9d1fc0d4f4c760d51b1471b2 /src/qml/qml/qqmlproperty.cpp | |
parent | 16e2863793b69c8bb38dba52787372a58aa1e6a2 (diff) |
Avoid unnecessary QByteArray creation
Change-Id: I5e76a6f74c39bbffdf31aef2367efeecf1dcf19c
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r-- | src/qml/qml/qqmlproperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp index 2a8aa32f23..a797a73373 100644 --- a/src/qml/qml/qqmlproperty.cpp +++ b/src/qml/qml/qqmlproperty.cpp @@ -369,7 +369,7 @@ void QQmlPropertyPrivate::initProperty(QObject *obj, const QString &name) } else { QMetaMethod method = findSignalByName(currentObject->metaObject(), - signalName.toLatin1().constData()); + signalName.toLatin1()); if (method.isValid()) { object = currentObject; core.load(method); |