diff options
Diffstat (limited to 'tests/testapplications/text/textinput.qml')
-rw-r--r-- | tests/testapplications/text/textinput.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testapplications/text/textinput.qml b/tests/testapplications/text/textinput.qml index f1f9c7ac4f..72e6d83931 100644 --- a/tests/testapplications/text/textinput.qml +++ b/tests/testapplications/text/textinput.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.0 +import QtQml.Models 2.12 Rectangle { height: 360; width: 640 @@ -148,7 +149,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 |