Commit 8d67d2d0 authored by Enrico Ros's avatar Enrico Ros
Browse files

MegaBUG; revoke my cvs rights now! Logic error, tons of memory was wasted.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=350579
parent 5304e774
......@@ -158,7 +158,7 @@ void KPDFPage::bookmark( bool on )
void KPDFPage::setPixmap( int id, QPixmap * pixmap )
{
if ( !m_pixmaps.contains( id ) )
if ( m_pixmaps.contains( id ) )
delete m_pixmaps[id];
m_pixmaps[id] = pixmap;
}
......
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