diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-18 07:19:05 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-18 07:22:30 (GMT) |
commit | 9e063f7e4790cc15b279a44807ff59c620d53ce6 (patch) | |
tree | 65bebd9ef6a8af92ecdeae74a1bb7283209891ab | |
parent | b1d036fd9fc45060bf2886114051eef8db735311 (diff) | |
download | Qt-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.
-rw-r--r-- | tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp | 2 |
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() |