Possible uninitialized value?
CCMAIL: sandro@giessl.com svn path=/trunk/KDE/kdebase/workspace/; revision=764693
This commit is contained in:
parent
f6dd54ce4b
commit
bff321a8e6
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void PlastikButton::drawButton(QPainter *painter)
|
|||
QColor surfaceBottom = KColorScheme::shade(titleBar, KColorScheme::LightShade, c - 0.4);
|
||||
|
||||
QColor highlightColor = titleBar;
|
||||
double alpha;
|
||||
double alpha = 0;
|
||||
if (type() == CloseButton) {
|
||||
KColorScheme kcs(active ? QPalette::Active : QPalette::Inactive, KColorScheme::Button);
|
||||
highlightColor = kcs.foreground(KColorScheme::NegativeText).color();
|
||||
|
|
Loading…
Reference in a new issue