aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/content/item14.qml
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2021-08-24 13:17:54 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-28 17:24:05 +0000
commit3ea856316fbaeab242dd3ff3f6d2dabe42bffd6e (patch)
tree60d799db1242e463bdf662ad3db64420134cc969 /examples/quick/shapes/content/item14.qml
parent0b3f5be0482e52c72f381ca0789a713008faed00 (diff)
Shapes example: use qqc2 components
Changing the example to use qt quick controls where it makes sense Task-number: QTBUG-95739 Change-Id: Id0df227657693234de4481c2316dc6c3e0545043 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 5ae40afa970731ce976323f1a912b46bdff325d0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/shapes/content/item14.qml')
-rw-r--r--examples/quick/shapes/content/item14.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/shapes/content/item14.qml b/examples/quick/shapes/content/item14.qml
index fd5b7d1048..b7fa8fa6ab 100644
--- a/examples/quick/shapes/content/item14.qml
+++ b/examples/quick/shapes/content/item14.qml
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.9
-import QtQuick.Shapes 1.0
+import QtQuick
+import QtQuick.Shapes
Rectangle {
color: "lightGray"