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

List:       kde-commits
Subject:    koffice/krita/plugins/filters/colorsfilters
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-08-25 12:58:49
Message-ID: 1251205129.140775.30467.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1015411 by rempt:

return the created adjustment

If we create an adjustement, we probably want to return it, too.

 M  +1 -2      kis_brightness_contrast_filter.cc  


--- trunk/koffice/krita/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc \
#1015410:1015411 @@ -223,8 +223,7 @@
     if(!configBC) return 0;
 
     KoColorTransformation * adjustment = \
                cs->createBrightnessContrastAdjustment(configBC->m_transfer);
-
-    return 0;
+    return adjustment;
 }
 
 KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(QWidget * \
parent, KisPaintDeviceSP dev, Qt::WFlags f)


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

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