diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-25 20:13:35 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-25 20:13:35 +0200 | 
| commit | fce9e7c708eacbd91b81bc7bdfa7789e69317bea (patch) | |
| tree | 466aa25527737a001ade0869aabac1cb6764046f /src | |
| parent | Remove notification for search text (diff) | |
| download | rekonq-fce9e7c708eacbd91b81bc7bdfa7789e69317bea.tar.xz | |
Fixing codestyle and changing a bit red color
Diffstat (limited to 'src')
| -rw-r--r-- | src/findbar.cpp | 18 | 
1 files changed, 10 insertions, 8 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp index b2dc5344..0656eef5 100644 --- a/src/findbar.cpp +++ b/src/findbar.cpp @@ -151,17 +151,19 @@ void FindBar::notifyMatch(bool match)      if (m_lineEdit->text().isEmpty())      { -	p.setColor(QPalette::Base, QColor(KApplication::palette().color(QPalette::Active, QPalette::Base))); +        p.setColor(QPalette::Base, QColor(KApplication::palette().color(QPalette::Active, QPalette::Base)));      } -    else if (match) +    else       { -	p.setColor(QPalette::Base, QColor(186, 249, 206)); +        if (match) +        { +            p.setColor(QPalette::Base, QColor(186, 249, 206)); +        } +        else +        { +            p.setColor(QPalette::Base, QColor(247, 130, 130)); // previous were 247, 230, 230 +        }      } -    else -    { -	p.setColor(QPalette::Base, QColor(247, 230, 230)); -    } -          m_lineEdit->setPalette(p);  }  | 
