Do *not* swap width and height in DocumentPrivate::refreshPixmaps

They must not be swapped, because generators already swap them on their
own, and swapping them twice results in distorted pixmaps.

BUG: 318829
FIXED-IN: 4.10.3
remotes/origin/KDE/4.10 v4.10.3
Fabio D'Urso 13 years ago
parent 61f0760518
commit 9812f5277e
  1. 2
      core/document.cpp

@ -1294,8 +1294,6 @@ void DocumentPrivate::refreshPixmaps( int pageNumber )
for ( ; it != itEnd; ++it )
{
QSize size = (*it).m_pixmap->size();
if ( (*it).m_rotation % 2 )
size.transpose();
PixmapRequest * p = new PixmapRequest( it.key(), pageNumber, size.width(), size.height(), 1, true );
p->d->mForce = true;
requestedPixmaps.push_back( p );

Loading…
Cancel
Save