Made the system client compile when QT_NO_COMPAT is defined

svn path=/trunk/kdebase/kwin/; revision=115984
This commit is contained in:
Fredrik Höglund 2001-09-30 21:02:06 +00:00
parent 16a15bc404
commit 372afd2293

View file

@ -69,7 +69,7 @@ static void create_pixmaps()
aUpperGradient->resize(32, 18);
iUpperGradient = new KPixmap;
iUpperGradient->resize(32, 18);
QColor bgColor = kapp->palette().normal().background();
QColor bgColor = kapp->palette().active().background();
KPixmapEffect::gradient(*aUpperGradient,
options->color(Options::Frame, true).light(130),
bgColor,
@ -372,7 +372,7 @@ void SystemClient::resizeEvent( QResizeEvent* )
recalcTitleBuffer();
doShape();
/*
if ( isVisibleToTLW() && !testWFlags( WNorthWestGravity )) {
if ( isVisibleToTLW() && !testWFlags( WStaticContents )) {
QPainter p( this );
QRect t = titlebar->geometry();
t.setTop( 0 );