From: Matthew Woehlke Date: Mon, 4 Jun 2007 15:15:40 +0000 (+0000) Subject: Cleanups from KGraphicsUtils->KColorUtils (r671350) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/a91482a1d2fcc2fee8076c36208c7c4eb2c394b8 Cleanups from KGraphicsUtils->KColorUtils (r671350) svn path=/trunk/KDE/kdebase/apps/; revision=671357 --- diff --git a/src/statusbarmessagelabel.cpp b/src/statusbarmessagelabel.cpp index 239f6a70c..54eb2d3f6 100644 --- a/src/statusbarmessagelabel.cpp +++ b/src/statusbarmessagelabel.cpp @@ -21,7 +21,7 @@ #include "statusbarmessagelabel.h" #include -#include +#include #include #include #include @@ -139,10 +139,10 @@ void StatusBarMessageLabel::paintEvent(QPaintEvent* /* event */) QColor foregroundColor(KGlobalSettings::textColor()); if (m_illumination > 0) { QColor mixColor(255, 255, 128, m_illumination); - backgroundColor = KGraphicsUtils::blendColor(backgroundColor, mixColor); + backgroundColor = KColorUtils::overlayColors(backgroundColor, mixColor); mixColor.setRgb(0, 0, 0, m_illumination); - foregroundColor = KGraphicsUtils::blendColor(foregroundColor, mixColor); + foregroundColor = KColorUtils::overlayColors(foregroundColor, mixColor); } painter.setBrush(backgroundColor); painter.setPen(backgroundColor);