Fix bug with test renderer where it was saving diff images to the wrong place

This commit is contained in:
Tim Sutton 2012-04-14 10:55:53 +02:00
parent 7be2d960de
commit 4665ac01f5

View File

@ -170,7 +170,7 @@ bool QgsRenderChecker::compareImages( QString theTestName,
myExpectedImage.height(),
QImage::Format_RGB32 );
QString myResultDiffImage = QDir::tempPath() + QDir::separator() +
"control_images" + QDir::separator() +
QDir::separator() +
theTestName + "_result_diff.png";
myDifferenceImage.fill( qRgb( 152, 219, 249 ) );