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

« back to all changes in this revision

Viewing changes to utilities/queuemanager/basetools/color/invert.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:
42
42
{
43
43
 
44
44
Invert::Invert(QObject* parent)
45
 
      : BatchTool("Invert", ColorTool, parent)
 
45
    : BatchTool("Invert", ColorTool, parent)
46
46
{
47
47
    setToolTitle(i18n("Invert Colors"));
48
48
    setToolDescription(i18n("A tool to invert image colors."));
56
56
 
57
57
bool Invert::toolOperations()
58
58
{
59
 
    if (!loadToDImg()) return false;
 
59
    if (!loadToDImg())
 
60
    {
 
61
        return false;
 
62
    }
60
63
 
61
64
    InvertFilter inv(&image(), 0L);
62
65
    inv.startFilterDirectly();