qt5base-lts/tests/auto/gui/text/qfontmetrics
Allan Sandfeld Jensen 0175ad4d3f Fix regression in metric calculation of text with mnemonics
Even when we do not intend to display the text, we still need to go
through the processing of mnemonics to remove them from the text.

Instead of capping the max underlines to 0, the TextDontPrint option now
just saves adding the underline formats.

Task-number: QTBUG-41593
Change-Id: I67790650dbed0092de2c63e5d5a9349dc02d5846
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2014-10-01 15:30:43 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qfontmetrics.pro QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
testfont.qrc Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
tst_qfontmetrics.cpp Fix regression in metric calculation of text with mnemonics 2014-10-01 15:30:43 +02:00
ucs4font.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00