summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/gui/text/qglyphrun/BLACKLIST2
-rw-r--r--tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/gui/text/qglyphrun/BLACKLIST b/tests/auto/gui/text/qglyphrun/BLACKLIST
index a653182a0d..d8fefd3d9f 100644
--- a/tests/auto/gui/text/qglyphrun/BLACKLIST
+++ b/tests/auto/gui/text/qglyphrun/BLACKLIST
@@ -1,5 +1,3 @@
[mixedScripts]
ubuntu-18.04
ubuntu-20.04
-[drawRightToLeft]
-opensuse-leap
diff --git a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
index 973a615d5e..77351e95a9 100644
--- a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
+++ b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
@@ -526,11 +526,7 @@ void tst_QGlyphRun::drawRightToLeft()
textLayoutDraw.fill(Qt::white);
drawGlyphs.fill(Qt::white);
- QFont font;
- font.setUnderline(true);
-
QTextLayout layout(s);
- layout.setFont(font);
layout.setCacheEnabled(true);
layout.beginLayout();
layout.createLine();