set the disabled color as a transparent version of the text color
svn path=/trunk/KDE/kdelibs/; revision=1030948
This commit is contained in:
parent
a7ac1feaf2
commit
c47fdfefbe
@ -88,6 +88,8 @@ public:
|
||||
QPalette p = native->palette();
|
||||
p.setColor(QPalette::Normal, QPalette::WindowText, color);
|
||||
p.setColor(QPalette::Inactive, QPalette::WindowText, color);
|
||||
color.setAlphaF(0.6);
|
||||
p.setColor(QPalette::Disabled, QPalette::WindowText, color);
|
||||
|
||||
p.setColor(QPalette::Normal, QPalette::Link, Theme::defaultTheme()->color(Theme::LinkColor));
|
||||
p.setColor(QPalette::Normal, QPalette::LinkVisited, Theme::defaultTheme()->color(Theme::VisitedLinkColor));
|
||||
|
Loading…
Reference in New Issue
Block a user