Commit 466e402d authored by Mailson Menezes's avatar Mailson Menezes Committed by Fabio D'Urso

Remove assertion of request normalized rect

normalizedRect is null if the requested page is not visible

BUG: 311238
parent 7ba2f704
......@@ -1101,7 +1101,6 @@ void DocumentPrivate::sendGeneratorPixmapRequest()
// Change normalizedRect to the smallest rect that contains all
// visible tiles.
Q_ASSERT( !r->normalizedRect().isNull() );
if ( !r->normalizedRect().isNull() )
{
NormalizedRect tilesRect;
......@@ -1119,9 +1118,13 @@ void DocumentPrivate::sendGeneratorPixmapRequest()
}
r->setNormalizedRect( tilesRect );
request = r;
}
else
{
m_pixmapRequestsStack.pop_back();
delete r;
}
request = r;
}
// If the requested area is below 6000000 pixels, switch off the tile manager
else if ( tilesManager && (long)r->width() * (long)r->height() < 6000000L )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment