From a517afd54f76f6ab1845b631544345a0e32460a6 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 7 Sep 2011 21:26:36 +0200 Subject: MicroFocus is in item coordinates Always set the microFocus/cursorRectangle in item coordinates. Correctly update the itemTransform in the QInputPanel for QWidgets. Change-Id: Ic0187f808996f31e6238d934f43bc97a70522a55 Reviewed-on: http://codereview.qt-project.org/4402 Reviewed-by: Vesa Rantanen Reviewed-by: Lars Knoll --- src/gui/text/qlinecontrol.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gui/text/qlinecontrol.cpp') diff --git a/src/gui/text/qlinecontrol.cpp b/src/gui/text/qlinecontrol.cpp index 6f9d9402ee..eb6f22b726 100644 --- a/src/gui/text/qlinecontrol.cpp +++ b/src/gui/text/qlinecontrol.cpp @@ -51,10 +51,6 @@ #ifndef QT_NO_ACCESSIBILITY #include "qaccessible.h" #endif -#ifndef QT_NO_IM -#include "qinputcontext.h" -#include "qlist.h" -#endif #include "qguiapplication.h" #include "qstylehints.h" -- cgit v1.2.3