summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:31:08 +0900
committerMichele Calgaro <[email protected]>2023-12-02 22:45:57 +0900
commit4dbc3ab8b198ca249a8ba1ff86ce83ce9b78d857 (patch)
tree99b7bdb55ef43de077ff626957768e2a92ceb627 /kopete
parentb195cf38b5aab00d925b2be771650066d2cbb90c (diff)
downloadtdenetwork-4dbc3ab8b198ca249a8ba1ff86ce83ce9b78d857.tar.gz
tdenetwork-4dbc3ab8b198ca249a8ba1ff86ce83ce9b78d857.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5dc12cbb83fe0a99816c94292071e9495cc2c440)
Diffstat (limited to 'kopete')
-rw-r--r--kopete/libkopete/avdevice/qvideostream.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQKeyEvent*>(e);
if(ke->key() == TQt::Key_Pause) {
_glfunTimer->start(500, true);
} else if (_glfunTimer->isActive() && (ke->key() == TQt::Key_Escape)) {