From 372afd229323d64c8a540abb03333cb293aa3206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Sun, 30 Sep 2001 21:02:06 +0000 Subject: [PATCH] Made the system client compile when QT_NO_COMPAT is defined svn path=/trunk/kdebase/kwin/; revision=115984 --- clients/system/systemclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/system/systemclient.cpp b/clients/system/systemclient.cpp index f17a005ca9..582149a3e2 100644 --- a/clients/system/systemclient.cpp +++ b/clients/system/systemclient.cpp @@ -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 );