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

List:       kde-commits
Subject:    [kde-workspace] ksmserver: Remove "#ifdef HAVE_QIMAGEBLITZ"
From:       Jekyll Wu <adaptee () gmail ! com>
Date:       2012-12-01 2:41:08
Message-ID: 20121201024108.90933A6091 () git ! kde ! org
[Download RAW message or body]

Git commit 454da932b4ba61ed0923009e26dcbe9444c8d82b by Jekyll Wu.
Committed on 01/12/2012 at 03:15.
Pushed by jekyllwu into branch 'master'.

Remove "#ifdef HAVE_QIMAGEBLITZ"

It doesn't make sense anymore, since QImageBlitz has been a hard
requiremnet of kde-workspace for quite some time. Actually, there is
no HAVE_QIMAGEBLITZ anymore.

This is a long-due follow up of commt c35eb20f

M  +0    -4    ksmserver/curtaineffect.cpp

http://commits.kde.org/kde-workspace/454da932b4ba61ed0923009e26dcbe9444c8d82b

diff --git a/ksmserver/curtaineffect.cpp b/ksmserver/curtaineffect.cpp
index a2cc5fb..53ffb68 100644
--- a/ksmserver/curtaineffect.cpp
+++ b/ksmserver/curtaineffect.cpp
@@ -31,9 +31,7 @@
 #include <QTimer>
 #include "config-workspace.h"
 
-#ifdef HAVE_QIMAGEBLITZ
 #include <qimageblitz.h>
-#endif
 
 CurtainEffect::CurtainEffect(QWidget *parent, QPixmap *pixmap)
     : LogoutEffect(parent, pixmap)
@@ -51,10 +49,8 @@ void CurtainEffect::nextFrame()
 {
     QImage image = QPixmap::grabWindow(QApplication::desktop()->winId(), 0, currentY,
                                        parent->width(), 10 ).toImage();
-#ifdef HAVE_QIMAGEBLITZ
     Blitz::intensity(image, -0.4);
     Blitz::grayscale(image);
-#endif
 
     QPainter painter(pixmap);
     painter.drawImage(0, currentY, image);
[prev in list] [next in list] [prev in thread] [next in thread] 

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