diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-04-01 09:04:29 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-04-01 13:10:27 (GMT) |
commit | ebd82c4fb5d7e9b417baca199b6f9e6893318536 (patch) | |
tree | e60db72cd73d8035b79df356b20bc4a5f1df261e /src/gui/kernel/qwidget.cpp | |
parent | b224b6006e823435297c2f0b82c835f5987f9b10 (diff) | |
download | Qt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.zip Qt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.tar.gz Qt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.tar.bz2 |
Removed obsolete internal function that focuses input context.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 09162ee..fd3d304 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -235,28 +235,6 @@ QWindowSurface *QWidgetPrivate::createDefaultWindowSurface() /*! \internal - This is an internal function, you should never call this. - - This function is called to focus associated input context. The - code intends to eliminate duplicate focus for the context even if - the context is shared between widgets - - \sa QInputContext::setFocus() - */ -void QWidgetPrivate::focusInputContext() -{ -#ifndef QT_NO_IM - Q_Q(QWidget); - QInputContext *qic = q->inputContext(); - if (qic) { - if(qic->focusWidget() != q) - qic->setFocusWidget(q); - } -#endif // QT_NO_IM -} - -/*! - \internal */ void QWidgetPrivate::scrollChildren(int dx, int dy) { |