Put in changes reverted by r732026 again.

svn path=/trunk/KDE/kdebase/workspace/; revision=733454
This commit is contained in:
Luboš Luňák 2007-11-06 11:13:09 +00:00
parent 9c23fc6033
commit 222d60acf8

View file

@ -55,8 +55,8 @@ void renderDot(QPainter *p, const QPointF &point, qreal diameter)
OxygenClient::OxygenClient(KDecorationBridge *b, KDecorationFactory *f)
: KCommonDecoration(b, f)
, helper_(*globalHelper)
, colorCacheInvalid_(true)
, helper_(*globalHelper)
{
}
@ -184,10 +184,10 @@ KCommonDecorationButton *OxygenClient::createButton(::ButtonType type)
return new OxygenButton(*this, i18n("Minimize"), ButtonMin);
case MaxButton:
return new OxygenButton(*this, i18n("Minimize"), ButtonMax);
return new OxygenButton(*this, i18n("Maximize"), ButtonMax);
case CloseButton:
return new OxygenButton(*this, i18n("Minimize"), ButtonClose);
return new OxygenButton(*this, i18n("Close"), ButtonClose);
default:
return 0;