Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 1 year ago
parent 46220b63d6
commit 0eaa948ca1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -69,7 +69,7 @@ bool TorrentView::eventFilter(TQObject* watched, TQEvent* e)
{
case TQEvent::MouseButtonPress:
{
if(TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton)
if(static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton)
ktview->m_headerMenu->popup(TQCursor::pos());
break;

Loading…
Cancel
Save