~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to utilities/queuemanager/basetools/color/bcgcorrection.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
{
44
44
 
45
45
BCGCorrection::BCGCorrection(QObject* parent)
46
 
             : BatchTool("BCGCorrection", ColorTool, parent)
 
46
    : BatchTool("BCGCorrection", ColorTool, parent)
47
47
{
48
48
    setToolTitle(i18n("BCG Correction"));
49
49
    setToolDescription(i18n("A tool to fix Brightness/Contrast/Gamma."));
96
96
 
97
97
bool BCGCorrection::toolOperations()
98
98
{
99
 
    if (!loadToDImg()) return false;
 
99
    if (!loadToDImg())
 
100
    {
 
101
        return false;
 
102
    }
100
103
 
101
104
    BCGContainer prm;
102
105
    prm.brightness = settings()["Brightness"].toDouble();