Remove unnecessary updateInputContext function from QSGCanvasPrivate
authorJoona Petrell <joona.t.petrell@nokia.com>
Mon, 12 Sep 2011 19:08:35 +0000 (22:08 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 08:22:43 +0000 (10:22 +0200)
Change-Id: Ibc64ef8a90854edf2c4b341ba01afdac19a813e1
Reviewed-on: http://codereview.qt-project.org/4742
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgcanvas_p.h

index 3e3a8b5..9d1320b 100644 (file)
@@ -338,16 +338,6 @@ bool QSGCanvas::vsyncAnimations() const
     return d->vsyncAnimations;
 }
 
-/*!
-    This function is an attempt to localize all uses of QInputContext::update in
-    one place up until the point where we have public API for the QInputContext API.
- */
-void QSGCanvasPrivate::updateInputContext()
-{
-    // ### finer grained updates would be good
-    qApp->inputPanel()->update(Qt::ImQueryAll);
-}
-
 void QSGCanvasPrivate::initializeSceneGraph()
 {
     if (!context)
index 128743e..6a8e0a0 100644 (file)
@@ -141,8 +141,6 @@ public:
     void syncSceneGraph();
     void renderSceneGraph(const QSize &size);
 
-    void updateInputContext();
-
     QSGItem::UpdatePaintNodeData updatePaintNodeData;
 
     QSGItem *dirtyItemList;