summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-10-11 04:00:11 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-12 07:44:34 +0200
commit8b41f22f5c4bb401182e2b458f61177b92bd48ce (patch)
treed43b21579c0c8097653845dade20fb879d70a763 /tests
parentdfb55f8a6c8d3ec4da840191c331ace3c2aa2bf3 (diff)
Fix tst_QTextEdit::fullWidthSelection2() for shadow build
Search for the test data files in the test data directory, not in the current dir. Change-Id: I746e717bae575364102c1bb5c2888332d94c374f Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp b/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp
index 27369adc22..cc718ea51f 100644
--- a/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp
+++ b/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp
@@ -2038,7 +2038,7 @@ void tst_QTextEdit::fullWidthSelection2()
selections.append(es);
widget.setExtraSelections(selections);
- compareWidgetAndImage(widget, "fullWidthSelection/nowrap_long.png");
+ compareWidgetAndImage(widget, m_fullWidthSelectionImagesFolder + "/nowrap_long.png");
}
#endif