summaryrefslogtreecommitdiff
path: root/noncore/styles/theme/ogfxeffect.cpp
Unidiff
Diffstat (limited to 'noncore/styles/theme/ogfxeffect.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/theme/ogfxeffect.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/styles/theme/ogfxeffect.cpp b/noncore/styles/theme/ogfxeffect.cpp
index 2071a67..90b45fe 100644
--- a/noncore/styles/theme/ogfxeffect.cpp
+++ b/noncore/styles/theme/ogfxeffect.cpp
@@ -29,5 +29,6 @@ QPixmap& OGfxEffect::gradient(QPixmap &pixmap, const QColor &ca,
29{ 29{
30 if ( !pixmap. isNull ( )) {
30 QImage image = gradient(pixmap.size(), ca, cb, eff, ncols); 31 QImage image = gradient(pixmap.size(), ca, cb, eff, ncols);
31 pixmap.convertFromImage(image); 32 pixmap.convertFromImage(image);
32 33 }
33 return pixmap; 34 return pixmap;
@@ -282,2 +283,3 @@ QPixmap& OGfxEffect::blend(QPixmap &pixmap, float initial_intensity,
282{ 283{
284 if ( !pixmap. isNull ( )) {
283 QImage image = pixmap.convertToImage(); 285 QImage image = pixmap.convertToImage();
@@ -289,3 +291,3 @@ QPixmap& OGfxEffect::blend(QPixmap &pixmap, float initial_intensity,
289 pixmap.convertFromImage(image); 291 pixmap.convertFromImage(image);
290 292 }
291 return pixmap; 293 return pixmap;