From e9eca3ecf778097c034eb76e930c9a7e4e3e6194 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Sun, 3 Jun 2012 21:16:23 +0200 Subject: [PATCH] Avoid unnecessary QByteArray creation Change-Id: I5e76a6f74c39bbffdf31aef2367efeecf1dcf19c Reviewed-by: Michael Brasser --- src/qml/qml/qqmlproperty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp index 2a8aa32..a797a73 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); -- 2.7.4