From: Peter Penz Date: Sun, 14 Dec 2008 11:25:44 +0000 (+0000) Subject: * Don't ignore the maximum file size for previews in the information panel. Correspon... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d2fbbd44b422cc64ad184886670ca22df9dced5b * Don't ignore the maximum file size for previews in the information panel. Corresponding to bug 177740 creating a thumbnail for a 200 MB PNG consumes 700 MB temporary memory... * Remember the created thumbnail for later reuse. BUG: 177740 svn path=/trunk/KDE/kdebase/apps/; revision=896725 --- diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index fc34bac7d..8298f8da6 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -216,8 +216,7 @@ void InfoSidebarPage::showItemInfo() 0, 0, true, - false); - job->setIgnoreMaximumSize(true); + true); connect(job, SIGNAL(gotPreview(const KFileItem&, const QPixmap&)), this, SLOT(showPreview(const KFileItem&, const QPixmap&)));