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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kdm/kfrontend/themer
From:       Bill Egert <begert () gmail ! com>
Date:       2007-12-31 18:58:14
Message-ID: 1199127494.095196.26136.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 755240 by begert:

-call setAlphaF instead of setAlpha.

 M  +2 -2      parse.cpp  


--- trunk/KDE/kdebase/workspace/kdm/kfrontend/themer/parse.cpp #755239:755240
@@ -192,9 +192,9 @@
 			return false;
 	}
 	if (!a.isEmpty()) {
-		float fltAlpha = a.toFloat( &ok );
+		qreal fltAlpha = a.toFloat( &ok );
 		if (ok)
-			color.setAlpha( int(fltAlpha * 255) );
+			color.setAlphaF(fltAlpha);
 	}
 	return ok;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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