From 2a3111ed09050a08d43b464ed8f6675ef65379b4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:42:35 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit 0eaa948ca128bbeecabb1b707aba1d974c0297d2) --- apps/ktorrent/ktorrentview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(e)->button() == TQt::RightButton) ktview->m_headerMenu->popup(TQCursor::pos()); break; -- cgit v1.2.1