[Digikam-devel] extragear/graphics/digikam/utilities/imageeditor/canvas

Gilles Caulier caulier.gilles at gmail.com
Tue Apr 3 09:51:07 BST 2007


SVN commit 649833 by cgilles:

digiKam from trunk : image editor canvas tile cache mechanism fix !!!
The tile is only recoder in cache in diagonal, and never on all image. This is why image editor is slow to render an image with old computer.

Nota : Lure, Angelo : this patch is really easy to backport on 0.9.1 package of kubuntu and Mandriva. Please backport it. Thanks in advance...

CCMAIL: digikam-devel at kde.org

 M  +1 -1      canvas.cpp  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp #649832:649833
@@ -485,7 +485,7 @@
         {
             for (int i = x1 ; i < x2 ; i += d->tileSize)
             {
-                QString key  = QString("%1,%1").arg(i).arg(j);
+                QString key  = QString("%1,%2").arg(i).arg(j);
                 QPixmap *pix = d->tileCache.find(key);
                 
                 if (!pix)



More information about the Digikam-devel mailing list