From 5dc12cbb83fe0a99816c94292071e9495cc2c440 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:31:08 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- kopete/libkopete/avdevice/qvideostream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kopete/libkopete') diff --git a/kopete/libkopete/avdevice/qvideostream.cpp b/kopete/libkopete/avdevice/qvideostream.cpp index b1f821c9..63de80c8 100644 --- a/kopete/libkopete/avdevice/qvideostream.cpp +++ b/kopete/libkopete/avdevice/qvideostream.cpp @@ -563,7 +563,7 @@ bool QVideoStreamGLWidget::eventFilter(TQObject*, TQEvent* e) // For some reason, KeyPress does not work (yields 2), TQEvent::KeyPress is unknown... What the f...???? // I am too lazy to scan the header files for the reason. if(e->type() == 6) { - TQKeyEvent* ke = TQT_TQKEYEVENT(e); + TQKeyEvent* ke = static_cast(e); if(ke->key() == TQt::Key_Pause) { _glfunTimer->start(500, true); } else if (_glfunTimer->isActive() && (ke->key() == TQt::Key_Escape)) { -- cgit v1.2.1