Fix alpha value
svn path=/trunk/KDE/kdelibs/; revision=1194319
This commit is contained in:
parent
24b00a5dff
commit
30799cc1be
@ -61,7 +61,7 @@ public:
|
||||
p.setColor(QPalette::Normal, QPalette::LinkVisited, Theme::defaultTheme()->color(Theme::VisitedLinkColor));
|
||||
|
||||
|
||||
qreal alpha = color.alpha();
|
||||
qreal alpha = color.alphaF();
|
||||
color.setAlphaF(0.6);
|
||||
p.setColor(QPalette::Disabled, QPalette::WindowText, color);
|
||||
color.setAlphaF(alpha);
|
||||
|
Loading…
x
Reference in New Issue
Block a user