[pkg-kde-commits] rev 2725 - in kde-extras/kipi-plugins/trunk/debian: . patches

Tom Albers tomalbers-guest at costa.debian.org
Fri Dec 30 22:56:25 UTC 2005


Author: tomalbers-guest
Date: 2005-12-30 22:56:25 +0000 (Fri, 30 Dec 2005)
New Revision: 2725

Added:
   kde-extras/kipi-plugins/trunk/debian/patches/12_kdesvn492745_fix_printing_printwizard.diff
Modified:
   kde-extras/kipi-plugins/trunk/debian/changelog
Log:
Add another usefull patch, printing with printingwizard was broken for larger images.


Modified: kde-extras/kipi-plugins/trunk/debian/changelog
===================================================================
--- kde-extras/kipi-plugins/trunk/debian/changelog	2005-12-30 22:54:46 UTC (rev 2724)
+++ kde-extras/kipi-plugins/trunk/debian/changelog	2005-12-30 22:56:25 UTC (rev 2725)
@@ -19,6 +19,10 @@
     which prevents a crash when using the imagesgallery for a second time and
     cancelling the dialog which asks if it is ok to delete the previous data.
     (upstream bug 116605)
+  * added patches/12_kdesvn492745_fix_printing_printwizard.diff
+    which makes it possible to print with the printwizard without going to
+    almost infinite swapping.
+    (upstream bug 117670)
 
   [ Mark Purcell ]
   * Add debian/watch: sf.net kipi project will be used for

Added: kde-extras/kipi-plugins/trunk/debian/patches/12_kdesvn492745_fix_printing_printwizard.diff
===================================================================
--- kde-extras/kipi-plugins/trunk/debian/patches/12_kdesvn492745_fix_printing_printwizard.diff	2005-12-30 22:54:46 UTC (rev 2724)
+++ kde-extras/kipi-plugins/trunk/debian/patches/12_kdesvn492745_fix_printing_printwizard.diff	2005-12-30 22:56:25 UTC (rev 2725)
@@ -0,0 +1,13 @@
+--- kipi-plugins/printwizard/tphoto.cpp	(revision 492744)
++++ kipi-plugins/printwizard/tphoto.cpp	(revision 492745)
+@@ -195,9 +195,7 @@
+     int w  = NINT((double)layout->width() * xRatio);
+     int h  = NINT((double)layout->height() * yRatio);
+ 
+-    // We can use scaleFree because the crop frame should have the proper dimensions.
+-    img = img.smoothScale(w, h, QImage::ScaleFree);
+-    p.drawImage(x1 + left, y1 + top, img);
++    p.drawImage( QRect(x1 + left, y1 + top, w, h), img );
+ 
+     if (captionType > 0)
+     {




More information about the pkg-kde-commits mailing list