From 0a6a7540fa26570779dc4936f97df2bcbcd51dba Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Wed, 4 Apr 2012 09:59:25 +1000 Subject: Remove workaround for QTBUG-22919. Fixed in qtbase. Change-Id: I2faff485d3aaf5639b211bd0a1b30bf9d37d2e69 Reviewed-by: Yann Bodson --- src/quick/items/qquicktextnode.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/quick') diff --git a/src/quick/items/qquicktextnode.cpp b/src/quick/items/qquicktextnode.cpp index 89c0aece33..a3199fb5fd 100644 --- a/src/quick/items/qquicktextnode.cpp +++ b/src/quick/items/qquicktextnode.cpp @@ -254,9 +254,6 @@ namespace { decorations |= (backgroundColor.isValid() ? QQuickTextNode::Background : QQuickTextNode::NoDecoration); qreal ascent = glyphRun.rawFont().ascent(); - // ### QTBUG-22919 The bounding rect returned by QGlyphRun appears to start on the - // baseline, move it by the ascent so all bounding rects are at baseline - ascent. - searchRect.translate(0, -ascent); insert(binaryTree, BinaryTreeNode(glyphRun, selectionState, searchRect, decorations, textColor, backgroundColor, position, ascent)); } -- cgit v1.2.3