No need for mouse tracking.

svn path=/trunk/kdebase/kwin/; revision=44704
This commit is contained in:
Daniel M. Duley 2000-03-25 22:19:57 +00:00
parent ff6cb2d276
commit 35cbd1ea19

View file

@ -154,7 +154,7 @@ void SystemButton::reset()
p.begin(&aBackground); p.begin(&aBackground);
p.drawPixmap(2, 2, aInternal); p.drawPixmap(2, 2, aInternal);
p.setPen(options->color(Options::ButtonFg, true)); p.setPen(options->colorGroup(Options::ButtonBg, true).mid());
p.drawRect(0, 0, 14, 14); p.drawRect(0, 0, 14, 14);
p.end(); p.end();
@ -252,9 +252,6 @@ SystemClient::SystemClient( Workspace *ws, WId w, QWidget *parent,
hb->addWidget( button[3]); hb->addWidget( button[3]);
hb->addSpacing(3); hb->addSpacing(3);
for ( int i = 0; i < (help ? 5 : 4); i++) {
button[i]->setMouseTracking( TRUE );
}
} }
void SystemClient::resizeEvent( QResizeEvent* e) void SystemClient::resizeEvent( QResizeEvent* e)