diff options
author | axis <qt-info@nokia.com> | 2009-05-29 15:49:00 +0200 |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-06-03 13:16:45 +0200 |
commit | d9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3 (patch) | |
tree | 5313142d9df2ddc530957a0a1f2fbdb32974ed27 /tests/auto/qinputcontext | |
parent | 6c153af95d45ad58fe4bca60b5494addd3ede821 (diff) | |
download | qt4-tools-d9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3.tar.gz |
Fixed an autotest that was left behind when API was updated.
Diffstat (limited to 'tests/auto/qinputcontext')
-rw-r--r-- | tests/auto/qinputcontext/tst_qinputcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qinputcontext/tst_qinputcontext.cpp b/tests/auto/qinputcontext/tst_qinputcontext.cpp index 444b400914..90ab071730 100644 --- a/tests/auto/qinputcontext/tst_qinputcontext.cpp +++ b/tests/auto/qinputcontext/tst_qinputcontext.cpp @@ -142,12 +142,12 @@ void tst_QInputContext::requestSoftwareInputPanel() QApplication::setActiveWindow(&w); // Testing single click panel activation. - QApplication::setTwoClicksToRequestSIP(false); + qApp->setAutoSipOnMouseFocus(true); QTest::mouseClick(le2, Qt::LeftButton, Qt::NoModifier, QPoint(5, 5)); QCOMPARE(ic2->lastType, QEvent::RequestSoftwareInputPanel); // Testing double click panel activation. - QApplication::setTwoClicksToRequestSIP(true); + qApp->setAutoSipOnMouseFocus(false); QTest::mouseClick(le1, Qt::LeftButton, Qt::NoModifier, QPoint(5, 5)); QVERIFY(ic1->lastType != QEvent::RequestSoftwareInputPanel); QTest::mouseClick(le1, Qt::LeftButton, Qt::NoModifier, QPoint(5, 5)); |