diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 3b45acfa1a..ad6bde7b70 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -9010,13 +9010,13 @@ void tst_QWidget::focusProxyAndInputMethods() // and that the input method gets the focus proxy passed // as the focus widget instead of the child widget. // otherwise input method queries go to the wrong widget - QCOMPARE(qApp->inputPanel()->inputItem(), toplevel.data()); + QCOMPARE(qApp->inputMethod()->inputItem(), toplevel.data()); toplevel->setAttribute(Qt::WA_InputMethodEnabled, false); - QVERIFY(!qApp->inputPanel()->inputItem()); + QVERIFY(!qApp->inputMethod()->inputItem()); toplevel->setAttribute(Qt::WA_InputMethodEnabled, true); - QCOMPARE(qApp->inputPanel()->inputItem(), toplevel.data()); + QCOMPARE(qApp->inputMethod()->inputItem(), toplevel.data()); } #ifdef QT_BUILD_INTERNAL |