Skip to content
Permalink
Browse files

Remove duplicated check

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Feb 19, 2015
1 parent cafeaa6 commit 9a4cecc5f7e8329f1a09e3b9eeccbd764bb33f40
Showing with 1 addition and 13 deletions.
  1. +1 −13 src/core/qgsrenderchecker.cpp
@@ -248,19 +248,7 @@ bool QgsRenderChecker::compareImages( QString theTestName,
"Image File not set.</td></tr></table>\n";
return false;
}
if ( ! theRenderedImageFile.isEmpty() )
{
mRenderedImageFile = theRenderedImageFile;
}
if ( mRenderedImageFile.isEmpty() )
{
qDebug( "QgsRenderChecker::runTest failed - Rendered Image File not set." );
mReport = "<table>"
"<tr><td>Test Result:</td><td>Expected Result:</td></tr>\n"
"<tr><td>Nothing rendered</td>\n<td>Failed because Rendered "
"Image File not set.</td></tr></table>\n";
return false;
}
mRenderedImageFile = theRenderedImageFile;
//
// Load /create the images
//

0 comments on commit 9a4cecc

Please sign in to comment.
You can’t perform that action at this time.