diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-07-30 12:48:52 +0200 |
---|---|---|
committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-07-31 07:15:06 +0000 |
commit | 0768d0dff9b2dc647da480bd73f5f25c84fdb427 (patch) | |
tree | e60dfd5005f3be77e2db3316eb5168c7a645da4a | |
parent | a450f2807d11f14b64aac7d89b83618beabd1211 (diff) |
Remove superfluous check
The same check is done ~3 lines above.
Change-Id: I8e6aeff89a7b0f3805afdf453b133dc98da59066
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r-- | src/qml/qml/qqmlbinding.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp index b0ccf9ac59..f17009569f 100644 --- a/src/qml/qml/qqmlbinding.cpp +++ b/src/qml/qml/qqmlbinding.cpp @@ -429,11 +429,6 @@ void QQmlBinding::setTarget(QObject *object, const QQmlPropertyData &core) QQmlPropertyData pd = core; - if (!object) { - m_targetIndex = -1; - return; - } - while (pd.isAlias()) { int coreIndex = pd.coreIndex; int valueTypeIndex = pd.getValueTypeCoreIndex(); |