summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/net/ksimnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/net/ksimnet.cpp')
-rw-r--r--ksim/monitors/net/ksimnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index d686a10..e72f8ea 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -642,7 +642,7 @@ bool NetView::eventFilter( TQObject * o, TQEvent * e )
if ( e->type() == TQEvent::MouseButtonPress )
{
- if ( TQT_TQMOUSEEVENT( e )->button() == TQt::RightButton )
+ if ( static_cast<TQMouseEvent*>( e )->button() == TQt::RightButton )
{
showMenu(i);
}