summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/net
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:44:34 +0900
commitdfb81fda2a1f149bacf303bda7f4b3821b4c96d4 (patch)
treea39c3775442a6d1b7e08411436106fece5bc10a4 /ksim/monitors/net
parent2d05a4b0f982db84955a0d8e56357f4e72b70d56 (diff)
downloadtdeutils-dfb81fda2a1f149bacf303bda7f4b3821b4c96d4.tar.gz
tdeutils-dfb81fda2a1f149bacf303bda7f4b3821b4c96d4.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99f7cd1932291ac8fe822b13cd1077da6433f279)
Diffstat (limited to 'ksim/monitors/net')
-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);
}