[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin/clients/b2
From: Luciano Montanaro <mikelima () cirulla ! net>
Date: 2004-06-01 23:32:28
Message-ID: 20040601233228.B5CA4126C7 () office ! kde ! org
[Download RAW message or body]
CVS commit by montanaro:
Fix cursor shape over titlebar buttons.
M +6 -2 b2client.cpp 1.73
--- kdebase/kwin/clients/b2/b2client.cpp #1.72:1.73
@@ -1125,4 +1125,5 @@ B2Button::B2Button(B2Client *_client, QW
{
setBackgroundMode(NoBackground);
+ setCursor(arrowCursor);
realizeButtons = realizeBtns;
client = _client;
@@ -1205,15 +1206,18 @@ void B2Button::mouseReleaseEvent(QMouseE
}
-void B2Button::enterEvent(QEvent *)
+void B2Button::enterEvent(QEvent *e)
{
hover = true;
repaint(false);
+ QButton::enterEvent(e);
}
-void B2Button::leaveEvent(QEvent *)
+void B2Button::leaveEvent(QEvent *e)
{
hover = false;
repaint(false);
+ QButton::leaveEvent(e);
}
+
// =====================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic