From 629295fcf7c5f7f38220aa5a32820493c9d68280 Mon Sep 17 00:00:00 2001 From: Jo Asplin Date: Thu, 15 Sep 2011 13:09:44 +0200 Subject: Cast back to QWindow * Tests for widgets should select the QWidget * version of overloaded QTestLib functions rather than the QWindow * version. Change-Id: I8b540b630758c0e7ba7ed88aba45d624c83ff378 Reviewed-on: http://codereview.qt-project.org/4977 Reviewed-by: Qt Sanity Bot Reviewed-by: Matthew Cattell --- tests/auto/qlineedit/tst_qlineedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/qlineedit/tst_qlineedit.cpp') diff --git a/tests/auto/qlineedit/tst_qlineedit.cpp b/tests/auto/qlineedit/tst_qlineedit.cpp index 7c8a9751cd..891a6071fc 100644 --- a/tests/auto/qlineedit/tst_qlineedit.cpp +++ b/tests/auto/qlineedit/tst_qlineedit.cpp @@ -3704,7 +3704,7 @@ void tst_QLineEdit::taskQTBUG_7395_readOnlyShortcut() le.setFocus(); QTRY_VERIFY(le.hasFocus()); - QTest::keyClick(static_cast(0), Qt::Key_P); + QTest::keyClick(static_cast(0), Qt::Key_P); QCOMPARE(spy.count(), 1); } -- cgit v1.2.3