From 8b41f22f5c4bb401182e2b458f61177b92bd48ce Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Thu, 11 Oct 2012 04:00:11 +0300 Subject: 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 --- tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3