summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-02-18 07:19:05 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2011-02-18 07:22:30 (GMT)
commit9e063f7e4790cc15b279a44807ff59c620d53ce6 (patch)
tree65bebd9ef6a8af92ecdeae74a1bb7283209891ab /tests/auto/declarative
parentb1d036fd9fc45060bf2886114051eef8db735311 (diff)
downloadQt-9e063f7e4790cc15b279a44807ff59c620d53ce6.zip
Qt-9e063f7e4790cc15b279a44807ff59c620d53ce6.tar.gz
Qt-9e063f7e4790cc15b279a44807ff59c620d53ce6.tar.bz2
Fix TextEdit auto test failure on windows.
A leaked window from a previous test held focus meaning events weren't being delivered to the expected widget. Delete the offending widget.
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
index 87c2c60..a052752 100644
--- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
+++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
@@ -1179,6 +1179,8 @@ void tst_qdeclarativetextedit::dragMouseSelection()
QVERIFY(str2.length() > 3);
QVERIFY(str1 != str2); // Verify the second press and drag is a new selection and doesn't not the first moved.
+
+ delete canvas;
}
void tst_qdeclarativetextedit::mouseSelectionMode_data()