[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    qt-copy
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2009-01-11 14:25:56
Message-ID: 1231683956.434235.5327.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 909385 by alexmerry:

Fix an issue where initialising a pixmap with 0 height but a non-zero
width creates a non-null pixmap (contrary to both the documentation and
common sense).

Still waiting for the Task ID.



 A             patches/0264-fix-zero-height-qpixmap-isnull.diff  
 M  +1 -1      patches/README  
 M  +1 -0      src/gui/image/qpixmap_x11.cpp  


--- trunk/qt-copy/patches/README #909384:909385
@@ -1,5 +1,5 @@
 Please assign the numbers incrementally, and don't reuse them. The next one:
-#0264
+#0265
 
 This directory contains patches for Qt that haven't been accepted by TrollTech
 yet. All patches in this directory itself shouldn't make qt-copy incompatible
--- trunk/qt-copy/src/gui/image/qpixmap_x11.cpp #909384:909385
@@ -320,6 +320,7 @@
     if (make_null || w < 0 || h < 0 || d == 0) {
         hd = 0;
         picture = 0;
+        w = h = 0;
         if (!make_null)
             qWarning("QPixmap: Invalid pixmap parameters");
         return;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic