From 2292bf06693c683ba353bcbea6ab9bd1209044ea Mon Sep 17 00:00:00 2001 From: Pekka Vuorela Date: Tue, 21 Aug 2012 14:19:47 +0300 Subject: Remove remaining bits of deprecated QInputPanel Introduced during Qt5 development and renamed to QInputMethod. Change-Id: If6744648dc98b779e65c449ae32626db574181df Reviewed-by: Joona Petrell --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/auto') 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 -- cgit v1.2.3