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

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2007-05-31 20:58:40
Message-ID: 1180645120.558142.26146.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 670248 by ppenz:

pass alpha value in ctor

 M  +1 -2      statusbarmessagelabel.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/statusbarmessagelabel.cpp #670247:670248
@@ -138,8 +138,7 @@
     QColor backgroundColor(palette().brush(QPalette::Background).color());
     QColor foregroundColor(KGlobalSettings::textColor());
     if (m_illumination > 0) {
-        QColor mixColor(255, 255, 128);
-        mixColor.setAlpha(m_illumination);
+        QColor mixColor(255, 255, 128, m_illumination);
         backgroundColor = KGraphicsUtils::blendColor(backgroundColor, mixColor);
 
         mixColor.setRgb(0, 0, 0, m_illumination);
[prev in list] [next in list] [prev in thread] [next in thread] 

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