respect colorsetting for window title

svn path=/trunk/KDE/kdebase/workspace/; revision=715938
icc-effect-5.14.5
Casper Boemann 2007-09-23 14:30:37 +00:00
parent cc57137f16
commit a717c047a3
1 changed files with 1 additions and 15 deletions

View File

@ -64,14 +64,6 @@ void renderDot(QPainter *p, const QPointF &point, qreal diameter)
p->drawEllipse(QRectF(point.x()-diameter/2, point.y()-diameter/2, diameter, diameter));
}
//////////////////////////////////////////////////////////////////////////////
// OxygenClient Class //
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// OxygenClient()
// ---------------
// Constructor
OxygenClient::OxygenClient(KDecorationBridge *b, KDecorationFactory *f)
: KCommonDecoration(b, f) { ; }
@ -211,11 +203,6 @@ KCommonDecorationButton *OxygenClient::createButton(::ButtonType type)
}
//////////////////////////////////////////////////////////////////////////////
// paintEvent()
// ------------
// Repaint the window
void OxygenClient::paintEvent(QPaintEvent *e)
{
Q_UNUSED(e)
@ -276,11 +263,10 @@ void OxygenClient::paintEvent(QPaintEvent *e)
// draw title text
painter.setFont(options()->font(isActive(), false));
painter.setBrush(palette.windowText());
painter.setPen(palette.windowText());
painter.drawText(titleLeft, titleTop, titleWidth, titleHeight,
OxygenFactory::titleAlign() | Qt::AlignVCenter, caption());
painter.setRenderHint(QPainter::Antialiasing);
// shadows of the frame