Assert the request have a valid normalized rect

remotes/origin/KDE/4.10
Mailson Menezes 14 years ago
parent c0ae3d2e9f
commit ce7d96dd96
  1. 1
      core/document.cpp

@ -1101,6 +1101,7 @@ 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;

Loading…
Cancel
Save