From d2fbbd44b422cc64ad184886670ca22df9dced5b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 14 Dec 2008 11:25:44 +0000 Subject: [PATCH] * 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 --- src/infosidebarpage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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&))); -- 2.47.3