Commit df338999 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

- Delete the image the thread generates (i suck)

Greg can you please test if that makes memory consumption on that monster pdf you have less enourmous?
CCMAIL:greg@treke.net

svn path=/trunk/kdegraphics/kpdf/; revision=346559
parent 54ff2d11
......@@ -90,6 +90,7 @@ void ThumbnailList::customEvent(QCustomEvent *e)
QImage *i = (QImage*)(e -> data());
setThumbnail(m_nextThumbnail, i);
delete i;
m_nextThumbnail++;
if (m_nextThumbnail <= m_doc->getNumPages()) generateNextThumbnail();
else
......
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