diff options
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 7f19f2b22c..3012eab777 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -372,15 +372,6 @@ void QWidgetPrivate::updateWidgetTransform() } } -QInputContext *QWidgetPrivate::inputContext() const -{ -#ifndef QT_NO_IM - return qApp->inputContext(); -#else - return 0; -#endif -} - /*! This function returns the QInputContext for this widget. By default the input context is inherited from the widgets @@ -397,7 +388,7 @@ QInputContext *QWidget::inputContext() if (!testAttribute(Qt::WA_InputMethodEnabled)) return 0; - return d->inputContext(); + return qApp->inputContext(); } #ifdef QT_KEYPAD_NAVIGATION |