Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/31/head
Michele Calgaro 1 year ago
parent c53b2fa4e7
commit 2cde36cd6d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -94,7 +94,7 @@ bool KWWApplet::eventFilter( TQObject *o, TQEvent *e )
{ {
if ((e->type() == TQEvent::MouseButtonPress) || (e->type() == TQEvent::MouseButtonDblClick)) if ((e->type() == TQEvent::MouseButtonPress) || (e->type() == TQEvent::MouseButtonDblClick))
{ {
mousePressEvent(TQT_TQMOUSEEVENT(e)); mousePressEvent(static_cast<TQMouseEvent*>(e));
return true; return true;
} }

Loading…
Cancel
Save