From 23eeb1106440fe6fcf56973807100646cd2a27ca Mon Sep 17 00:00:00 2001 From: Karol Szwed Date: Mon, 10 Sep 2001 05:57:43 +0000 Subject: [PATCH] - Fix unpainted areas when shaded svn path=/trunk/kdebase/kwin/; revision=113873 --- clients/b2/b2client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/b2/b2client.cpp b/clients/b2/b2client.cpp index b658c2e4ce..b174118108 100644 --- a/clients/b2/b2client.cpp +++ b/clients/b2/b2client.cpp @@ -579,7 +579,7 @@ void B2Client::paintEvent( QPaintEvent* e) // inner window rect p.drawRect(3, t.bottom(), width()-6, height()-t.height()-6); - p.drawLine(4, t.bottom()-1, width()-8, t.bottom()-1); + p.drawLine(4, t.bottom()+1, width()-5, t.bottom()+1); // outer frame rect p.drawRect(0, t.bottom()-3, width(), height()-t.height()); @@ -598,7 +598,7 @@ void B2Client::paintEvent( QPaintEvent* e) qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2, options->colorGroup(Options::TitleBar, isActive()), false); else - qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2, + qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2, options->colorGroup(Options::Frame, isActive()), false); //bottom handle rect