diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-05-03 17:51:47 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-06-18 14:41:02 +0000 |
commit | 329f9ad18e7dd55b72f6611f321c18538f753ea8 (patch) | |
tree | cbc8d84489dee7778ba5ac4e56a28ed4842c7340 /src/qml/qml/qqmlboundsignal_p.h | |
parent | 293c7c44f0cae6c8586333e3b9f63c4bb54f6f73 (diff) |
Fix some function signatures and remove an unused function
The returned value of these methods is never used, so save
some cycles and return void.
Change-Id: I7e2430130853af12de9685c4383197c80c151175
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlboundsignal_p.h b/src/qml/qml/qqmlboundsignal_p.h index 8e47d5bc62..3742317484 100644 --- a/src/qml/qml/qqmlboundsignal_p.h +++ b/src/qml/qml/qqmlboundsignal_p.h @@ -106,8 +106,7 @@ public: void removeFromObject(); QQmlBoundSignalExpression *expression() const; - QQmlBoundSignalExpressionPointer setExpression(QQmlBoundSignalExpression *); - QQmlBoundSignalExpressionPointer takeExpression(QQmlBoundSignalExpression *); + void takeExpression(QQmlBoundSignalExpression *); private: friend void QQmlBoundSignal_callback(QQmlNotifierEndpoint *, void **); |