[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:01:53 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=562829e
The following commit has been merged in the master branch:
commit 562829e6b55a70c8fa7b25efc49b4261c6c278e2
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Tue Feb 28 00:31:35 2012 +0100
Fix colours for some themes
---
src/accounts-list-delegate.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/accounts-list-delegate.cpp b/src/accounts-list-delegate.cpp
index 82d0f3e..43d4b12 100644
--- a/src/accounts-list-delegate.cpp
+++ b/src/accounts-list-delegate.cpp
@@ -197,6 +197,7 @@ void AccountsListDelegate::updateItemWidgets(const QList<QWidget *> widgets, con
QFont displayNameButtonFont = option.font;
QPalette displayNameButtonPalette = option.palette;
if (isEnabled) {
+ displayNameButtonPalette.setColor(QPalette::WindowText, displayNameButtonPalette.color(QPalette::Normal, QPalette::Text));
displayNameButtonFont.setBold(true);
} else {
displayNameButtonFont.setItalic(true);
@@ -227,7 +228,9 @@ void AccountsListDelegate::updateItemWidgets(const QList<QWidget *> widgets, con
// connectionErrorLabel
QFont connectionErrorLabelFont = option.font;
QPalette connectionErrorLabelPalette = option.palette;
- if (!isEnabled) {
+ if (isEnabled) {
+ connectionErrorLabelPalette.setColor(QPalette::WindowText, connectionErrorLabelPalette.color(QPalette::Normal, QPalette::Text));
+ } else {
connectionErrorLabelFont.setItalic(true);
connectionErrorLabelPalette.setColor(QPalette::Text, connectionErrorLabelPalette.color(QPalette::Disabled, QPalette::Text));
}
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list