diff options
Diffstat (limited to 'tests/testapplications/text/textedit.qml')
-rw-r--r-- | tests/testapplications/text/textedit.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testapplications/text/textedit.qml b/tests/testapplications/text/textedit.qml index 677784a978..b96193307a 100644 --- a/tests/testapplications/text/textedit.qml +++ b/tests/testapplications/text/textedit.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2018 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. @@ -27,6 +27,7 @@ ****************************************************************************/ import QtQuick 2.1 +import QtQml.Models 2.12 Rectangle { height: 360; width: 640 @@ -102,7 +103,7 @@ Rectangle { anchors.right: parent.right Rectangle { anchors.fill: parent; color: "transparent"; border.color: "black" } ListView { id: controls; model: controlsmodel; anchors.fill: parent; clip: true; cacheBuffer: 500 } - VisualItemModel { + ObjectModel { id: controlsmodel ControlView { id: textvalue |