[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:10:35 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=20480b2

The following commit has been merged in the master branch:
commit 20480b230080b8f281b50561f7a91cab7a222de3
Author: Alvaro Soliverez <asoliverez at kde.org>
Date:   Thu Apr 26 19:07:18 2012 -0300

    Group name: Use inactive rather than disabled pen for the font pen when
    the group is not selected. In some color schemes, disabled is almost
    unreadable in that font size.
    REVIEW:104750
---
 abstract-contact-delegate.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/abstract-contact-delegate.cpp b/abstract-contact-delegate.cpp
index 7c0540b..688dd95 100644
--- a/abstract-contact-delegate.cpp
+++ b/abstract-contact-delegate.cpp
@@ -122,7 +122,7 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
     if (option.state & QStyle::State_HasFocus) {
         painter->setPen(m_palette->color(QPalette::Active, QPalette::HighlightedText));
     } else {
-        painter->setPen(m_palette->color(QPalette::Disabled, QPalette::WindowText));
+        painter->setPen(m_palette->color(QPalette::Inactive, QPalette::WindowText));
     }
 
     painter->setFont(groupFont);
@@ -132,7 +132,7 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
 
     QPen thinLinePen;
     thinLinePen.setWidth(0);
-    thinLinePen.setColor(m_palette->color(QPalette::Disabled, QPalette::Button));
+    thinLinePen.setColor(m_palette->color(QPalette::Inactive, QPalette::Button));
 
     painter->setPen(thinLinePen);
     painter->setRenderHint(QPainter::Antialiasing, false);

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list