From a7be892f3aafdfcedee3fddbc6b1750a6bc580d9 Mon Sep 17 00:00:00 2001 From: Joona Petrell Date: Mon, 12 Sep 2011 22:08:35 +0300 Subject: [PATCH] Remove unnecessary updateInputContext function from QSGCanvasPrivate Change-Id: Ibc64ef8a90854edf2c4b341ba01afdac19a813e1 Reviewed-on: http://codereview.qt-project.org/4742 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- src/declarative/items/qsgcanvas.cpp | 10 ---------- src/declarative/items/qsgcanvas_p.h | 2 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index 3e3a8b5..9d1320b 100644 --- a/src/declarative/items/qsgcanvas.cpp +++ b/src/declarative/items/qsgcanvas.cpp @@ -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) diff --git a/src/declarative/items/qsgcanvas_p.h b/src/declarative/items/qsgcanvas_p.h index 128743e..6a8e0a0 100644 --- a/src/declarative/items/qsgcanvas_p.h +++ b/src/declarative/items/qsgcanvas_p.h @@ -141,8 +141,6 @@ public: void syncSceneGraph(); void renderSceneGraph(const QSize &size); - void updateInputContext(); - QSGItem::UpdatePaintNodeData updatePaintNodeData; QSGItem *dirtyItemList; -- 1.7.2.5