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>
This commit is contained in:
Konstantin Ritt 2012-10-11 04:00:11 +03:00 committed by The Qt Project
parent dfb55f8a6c
commit 8b41f22f5c

View File

@ -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