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

List:       kde-commits
Subject:    kdenonbeta/ksvg2/svg (silent)
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-10-03 15:28:32
Message-ID: 1128353312.663344.3759.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 466860 by buis:

SVN_SILENT: this seems a better way to set alpha using qt4, other method was not reliable.


 M  +2 -2      SVGStopElementImpl.cpp  


--- trunk/kdenonbeta/ksvg2/svg/SVGStopElementImpl.cpp #466859:466860
@@ -111,8 +111,8 @@
                     stops.remove(pair);
             }
         }
-        
-        stops.addStop(_offset, qRgba(c.red(), c.green(), c.blue(), int(opacity * 255.)));
+        QColor c2(c.red(), c.green(), c.blue(), int(opacity * 255.));
+        stops.addStop(_offset, c2);
     }
 
     return 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

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