diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-23 18:21:58 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-30 13:32:57 +0100 |
commit | 2130d282b1a2671049c90dd4e99e512b8009de9a (patch) | |
tree | 6786ba174134cd8263f54429b2ada2676bb7a77b /examples/embedded | |
parent | 45967dfbd8192a14a324a75377d1860891845fbf (diff) |
Change examples and snippets to pass QDate and QTime by value
They're value types, so we should show them being used as such.
Change-Id: If9f0c366fac66306b7861f04e2f047540d444acc
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'examples/embedded')
-rw-r--r-- | examples/embedded/flightinfo/flightinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/embedded/flightinfo/flightinfo.cpp b/examples/embedded/flightinfo/flightinfo.cpp index f46fc9693f..f7df368dd7 100644 --- a/examples/embedded/flightinfo/flightinfo.cpp +++ b/examples/embedded/flightinfo/flightinfo.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the demonstration applications of the Qt Toolkit. @@ -198,7 +198,7 @@ private slots: public slots: - void request(const QString &flightCode, const QDate &date) { + void request(const QString &flightCode, QDate date) { setWindowTitle("Loading..."); |