diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/testtypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlecmascript/testtypes.h b/tests/auto/qml/qqmlecmascript/testtypes.h index 922bef0ead..3813cdbe24 100644 --- a/tests/auto/qml/qqmlecmascript/testtypes.h +++ b/tests/auto/qml/qqmlecmascript/testtypes.h @@ -608,7 +608,7 @@ public: QDate dateProperty() const { return datePropertyValue; } - void setDateProperty(const QDate &v) { + void setDateProperty(QDate v) { datePropertyValue = v; } @@ -616,7 +616,7 @@ public: QTime timeProperty() const { return timePropertyValue; } - void setTimeProperty(const QTime &v) { + void setTimeProperty(QTime v) { timePropertyValue = v; } |