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

« back to all changes in this revision

Viewing changes to libs/widgets/common/statusled.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:
37
37
namespace Digikam
38
38
{
39
39
 
40
 
StatusLed::StatusLed(QWidget *parent)
41
 
         : QLabel(parent)
 
40
StatusLed::StatusLed(QWidget* parent)
 
41
    : QLabel(parent)
42
42
{
43
43
    setLedColor(Gray);
44
44
    setFocusPolicy(Qt::NoFocus);
53
53
    m_color = color;
54
54
 
55
55
    QString file;
56
 
    switch(m_color)
 
56
 
 
57
    switch (m_color)
57
58
    {
58
59
        case Green:
59
60
            file = QString("indicator-green");