diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-30 14:26:04 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-14 10:23:34 +0200 |
commit | 9ab8cc180ca1081f1aaff3f9bd57705cfd680564 (patch) | |
tree | 50268ed7d9425c4a6d762d4d2d023dbb43eb4c9e /examples | |
parent | 41b9a8f1ea833bc016486c7d1f835b2d6c67d4cd (diff) |
Pass QDate by value
It's a trivially-copyable value type, just wrapping a qint64.
Change-Id: I3cd2002b402eda479786e9367f834accd01fdabf
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/remoteobjects/timemodel.rep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/remoteobjects/timemodel.rep b/examples/remoteobjects/timemodel.rep index 0c9ca6a..c07ee2c 100644 --- a/examples/remoteobjects/timemodel.rep +++ b/examples/remoteobjects/timemodel.rep @@ -7,7 +7,7 @@ class MinuteTimer PROP(int hour=1); PROP(int minute=51); SIGNAL(timeChanged()); - SIGNAL(timeChanged2(const QTime &t)); + SIGNAL(timeChanged2(QTime t)); SIGNAL(sendCustom(PresetInfo info)); SIGNAL(foo(QMap<QString, QString> foo)); SLOT(void SetTimeZone(const int &)); |