aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlboundsignal_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-05-03 19:28:53 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-18 08:51:32 +0000
commit3488569817c8cf4bbfbdc95f0e0f6bfab3d9ab3e (patch)
tree1292b39a6ef33cd68cc01295907126f51e9596c5 /src/qml/qml/qqmlboundsignal_p.h
parent17a336714dcc16e786a619d68d2901e0e93e86a4 (diff)
No need to store the same data twice
Remove the index member from QQmlBoundSignal, as the NotifierEndpoint already stores the index. Change-Id: Idd8848ae1ca97b964ca1be0bab1c8aba540ace43 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal_p.h')
-rw-r--r--src/qml/qml/qqmlboundsignal_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlboundsignal_p.h b/src/qml/qml/qqmlboundsignal_p.h
index eb4a00a4d0..32e5a9c18c 100644
--- a/src/qml/qml/qqmlboundsignal_p.h
+++ b/src/qml/qml/qqmlboundsignal_p.h
@@ -105,8 +105,6 @@ public:
void removeFromObject();
- int index() const;
-
QQmlBoundSignalExpression *expression() const;
QQmlBoundSignalExpressionPointer setExpression(QQmlBoundSignalExpression *);
QQmlBoundSignalExpressionPointer takeExpression(QQmlBoundSignalExpression *);
@@ -125,7 +123,6 @@ private:
QQmlBoundSignal *m_nextSignal;
QQmlBoundSignalExpressionPointer m_expression;
- int m_index;
bool m_isEvaluating;
};