Made the system client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115984
This commit is contained in:
parent
16a15bc404
commit
372afd2293
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue