summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-29 13:49:00 (GMT)
committeraxis <qt-info@nokia.com>2009-06-03 11:16:45 (GMT)
commitd9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3 (patch)
tree5313142d9df2ddc530957a0a1f2fbdb32974ed27 /tests
parent6c153af95d45ad58fe4bca60b5494addd3ede821 (diff)
downloadQt-d9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3.zip
Qt-d9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3.tar.gz
Qt-d9bdb8bf50de5ee3fcd8d9de62f41ad52aacebb3.tar.bz2
Fixed an autotest that was left behind when API was updated.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qinputcontext/tst_qinputcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qinputcontext/tst_qinputcontext.cpp b/tests/auto/qinputcontext/tst_qinputcontext.cpp
index 444b400..90ab071 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));