summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:42:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 23:39:54 +0900
commit0eaa948ca128bbeecabb1b707aba1d974c0297d2 (patch)
tree5c9caff47c5d73ecbbe29bd692cbb23fb20961a2
parent46220b63d669f3dd23d9cb2016b99dd0064ecc44 (diff)
downloadktorrent-0eaa948c.tar.gz
ktorrent-0eaa948c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--apps/ktorrent/ktorrentview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ktorrent/ktorrentview.cpp b/apps/ktorrent/ktorrentview.cpp
index 7adc488..89af043 100644
--- a/apps/ktorrent/ktorrentview.cpp
+++ b/apps/ktorrent/ktorrentview.cpp
@@ -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;