aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextnode.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-04-04 09:59:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-04 04:46:19 +0200
commit0a6a7540fa26570779dc4936f97df2bcbcd51dba (patch)
tree7a9adbaaa8f36ed8e31b8b85a8f15db0e0cbca30 /src/quick/items/qquicktextnode.cpp
parentc71c8c4619594a276d69378bbd77da5117afd566 (diff)
Remove workaround for QTBUG-22919.
Fixed in qtbase. Change-Id: I2faff485d3aaf5639b211bd0a1b30bf9d37d2e69 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'src/quick/items/qquicktextnode.cpp')
-rw-r--r--src/quick/items/qquicktextnode.cpp3
1 files changed, 0 insertions, 3 deletions
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));
}