diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-19 00:26:18 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-08-19 00:26:18 (GMT) |
commit | 2abbc5fc400dfa8ad26397cc39f49f9b3a4304c9 (patch) | |
tree | fdbf3b8fbaf9d1e5a57bf1984a386f17d0fcd538 /tests/auto/declarative/qdeclarativetextedit | |
parent | 673fa509fe0ac8262e53a12907e99d2a007fb5f2 (diff) | |
download | Qt-2abbc5fc400dfa8ad26397cc39f49f9b3a4304c9.zip Qt-2abbc5fc400dfa8ad26397cc39f49f9b3a4304c9.tar.gz Qt-2abbc5fc400dfa8ad26397cc39f49f9b3a4304c9.tar.bz2 |
Make QML tests compile on OpenSolaris
Task-number: QTBUG-13003
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextedit')
-rw-r--r-- | tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp index 57a5e29..56a3121 100644 --- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp +++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp @@ -1096,7 +1096,7 @@ void tst_qdeclarativetextedit::openInputPanelOnFocus() 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 |