diff options
| author | Mitch Curtis <mitch.curtis@qt.io> | 2023-12-18 13:21:39 +0800 |
|---|---|---|
| committer | Mitch Curtis <mitch.curtis@qt.io> | 2024-01-08 10:19:19 +0800 |
| commit | c11436857fe2ee6951c97d2d58a9227120c7884c (patch) | |
| tree | e162fbd1afa5980b2994929606015dda71478c55 /examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp | |
| parent | 06e42e733ed6658abbb30ba7be2e571b4533d009 (diff) | |
Improve chattutorial example
- Use modern QML type registration.
- Fix qmllint warnings.
- Tidy up code.
- Update copyright year.
Fixes: QTBUG-119986
Change-Id: Ibb47c929a14cd0e786acb7c7496e6cce34f624df
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp')
| -rw-r--r-- | examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp b/examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp index cce8cffbb8..189924deec 100644 --- a/examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp +++ b/examples/quickcontrols/chattutorial/chapter5/sqlcontactmodel.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 The Qt Company Ltd. +// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #include "sqlcontactmodel.h" |
