// ### finer grained updates would be good
qApp->inputPanel()->update(Qt::ImQueryAll);
}
-/*!
- This function is an attempt to localize all uses of QInputContext::reset in
- one place up until the point where we have public API for the QInputContext API.
- */
-void QSGCanvasPrivate::resetInputContext()
-{
- qApp->inputPanel()->reset();
-}
-
void QSGCanvasPrivate::initializeSceneGraph()
{
if (oldActiveFocusItem) {
#ifndef QT_NO_IM
- resetInputContext();
+ qApp->inputPanel()->commit();
#endif
activeFocusItem = 0;
Q_ASSERT(oldActiveFocusItem);
#ifndef QT_NO_IM
- resetInputContext();
+ qApp->inputPanel()->commit();
#endif
activeFocusItem = 0;
void renderSceneGraph(const QSize &size);
void updateInputContext();
- void resetInputContext();
QSGItem::UpdatePaintNodeData updatePaintNodeData;