┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-14 11:25:44 +0000
committerPeter Penz <[email protected]>2008-12-14 11:25:44 +0000
commitd2fbbd44b422cc64ad184886670ca22df9dced5b (patch)
tree2d9471ec8c67de04624add6175878e7a9a7784fa
parent44d2f43a4047a0dbb3396dff53de2e36df3049f7 (diff)
* 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
-rw-r--r--src/infosidebarpage.cpp3
1 files changed, 1 insertions, 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&)));