diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-12-13 10:29:22 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-12-13 14:16:52 (GMT) |
commit | 0af1f5508e165f3b494ab236cb1cdf1b0edcffa5 (patch) | |
tree | ade12cabfc854cf57c005bd6229b576d7da6dee0 /src/gui/graphicsview/qgraphicslayoutitem.cpp | |
parent | 6160f8541e4d7cb66de7680b5fb439fb757c59dd (diff) | |
download | Qt-0af1f5508e165f3b494ab236cb1cdf1b0edcffa5.zip Qt-0af1f5508e165f3b494ab236cb1cdf1b0edcffa5.tar.gz Qt-0af1f5508e165f3b494ab236cb1cdf1b0edcffa5.tar.bz2 |
Fixes text jitter in QtQuick components when using the virtual keyboard
QGraphicsView::mapFromScene() returns a QRect instead of a
QRectF. Thus, we were prematurely rounding the micro focus rectangle
coordinates in QGraphicsView::inputMethodQuery(). (The
Qt::ImMicroFocus query returns a QRectF from QGraphicsScene, which is
the result of querying QDeclarativeTextEdit and mapping it to the
scene.)
Auto-test included.
Reviewed-by: leo
Reviewed-by: bnilsen
Task-number: QTCOMPONENTS-288
Task-number: QTBUG-16063
Diffstat (limited to 'src/gui/graphicsview/qgraphicslayoutitem.cpp')
0 files changed, 0 insertions, 0 deletions