diff -r ef0373b55136 -r 758a864f9613 tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp --- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -777,7 +777,7 @@ // import installed QTest::newRow("pass") << "cursorHttpTestPass.qml" << ""; - QTest::newRow("fail1") << "cursorHttpTestFail1.qml" << ": Network error for URL http://localhost:42332/FailItem.qml "; + QTest::newRow("fail1") << "cursorHttpTestFail1.qml" << "http://localhost:42332/FailItem.qml: Remote host closed the connection "; QTest::newRow("fail2") << "cursorHttpTestFail2.qml" << "http://localhost:42332/ErrItem.qml:4:5: Fungus is not a type "; } @@ -1096,7 +1096,7 @@ QApplication::processEvents(); QCOMPARE(ic.openInputPanelReceived, true); ic.openInputPanelReceived = false; - QCOMPARE(view.inputContext(), &ic); + QCOMPARE(view.inputContext(), (QInputContext*)&ic); QVERIFY(view.testAttribute(Qt::WA_InputMethodEnabled)); // input method should be disabled if focus