summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml
index 8798a5f..1e0f71a 100644
--- a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/cursorDelegate.qml
@@ -1,5 +1,7 @@
import QtQuick 1.0
- Rectangle {
+import "../shared" 1.0
+
+Rectangle {
resources: [
Component { id: cursorA
Item { id: cPage;
@@ -21,7 +23,7 @@ import QtQuick 1.0
width: 400
height: 200
color: "white"
- TextEdit { id: mainText
+ TestTextEdit { id: mainText
text: "Hello World"
cursorDelegate: cursorA
focus: true