aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-07 11:32:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-07 10:49:27 +0000
commitbb921064b966efdaabc2245cad21c3d852848a22 (patch)
treee8d5c796f2ac403761b87cabd52dd3c2aee93e2f /tests
parent4401543fff6e32d3a35a1e0690193add42055fa8 (diff)
tst_qquicktextedit::hAlignVisual(): Fix failure on Windows.
Set a suitable font, fixing the error: FAIL! : tst_qquicktextedit::hAlignVisual() Compared values are not the same Actual (left): 2 Expected (0) : 0 Task-number: QTBUG-48546 Change-Id: I4d6222a39647229c65f3e5aa12c39d50a722e584 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qquicktextedit/data/hAlignVisual.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextedit/data/hAlignVisual.qml b/tests/auto/quick/qquicktextedit/data/hAlignVisual.qml
index 017bab97a7..1280a655f0 100644
--- a/tests/auto/quick/qquicktextedit/data/hAlignVisual.qml
+++ b/tests/auto/quick/qquicktextedit/data/hAlignVisual.qml
@@ -10,5 +10,6 @@ Rectangle {
anchors.centerIn: parent
horizontalAlignment: Text.AlignLeft
font.pointSize: 12
+ font.family: "Times New Roman"
}
}