Merge integration refs/builds/qtci/dev/1618376490
This commit is contained in:
commit
62efc8990d
@ -9675,16 +9675,16 @@ QVariant QWidget::inputMethodQuery(Qt::InputMethodQuery query) const
|
|||||||
*/
|
*/
|
||||||
Qt::InputMethodHints QWidget::inputMethodHints() const
|
Qt::InputMethodHints QWidget::inputMethodHints() const
|
||||||
{
|
{
|
||||||
#ifndef QT_NO_IM
|
#if QT_CONFIG(im)
|
||||||
const QWidgetPrivate *priv = d_func();
|
const QWidgetPrivate *priv = d_func();
|
||||||
while (priv->inheritsInputMethodHints) {
|
while (priv->inheritsInputMethodHints) {
|
||||||
priv = priv->q_func()->parentWidget()->d_func();
|
priv = priv->q_func()->parentWidget()->d_func();
|
||||||
Q_ASSERT(priv);
|
Q_ASSERT(priv);
|
||||||
}
|
}
|
||||||
return priv->imHints;
|
return priv->imHints;
|
||||||
#else //QT_NO_IM
|
#else
|
||||||
return 0;
|
return Qt::ImhNone;
|
||||||
#endif //QT_NO_IM
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void QWidget::setInputMethodHints(Qt::InputMethodHints hints)
|
void QWidget::setInputMethodHints(Qt::InputMethodHints hints)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user