summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:42:35 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:40:39 +0900
commit2a3111ed09050a08d43b464ed8f6675ef65379b4 (patch)
tree84179a97a7550f1fe28794cd40b6787cab3d74e3
parente76b1b06a0f8d95b75714da5ef9c4d8fbe3d2d64 (diff)
downloadktorrent-2a3111ed09050a08d43b464ed8f6675ef65379b4.tar.gz
ktorrent-2a3111ed09050a08d43b464ed8f6675ef65379b4.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0eaa948ca128bbeecabb1b707aba1d974c0297d2)
-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;