diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 19:13:36 +0900 |
commit | 5cfda35559d971762794b1c8e294d037c09c63f3 (patch) | |
tree | 567400ec90a083f3fcb02cde2ed0d779d861da79 /twin/events.cpp | |
parent | 7c193f33d78ab79d2811a60c5190abdc1fa95c03 (diff) | |
download | tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.tar.gz tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
Diffstat (limited to 'twin/events.cpp')
-rw-r--r-- | twin/events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/events.cpp b/twin/events.cpp index c24d81c6f..e2e6b8d60 100644 --- a/twin/events.cpp +++ b/twin/events.cpp @@ -1079,7 +1079,7 @@ int qtToX11State( TQt::ButtonState state ) // for the decoration window cannot be (easily) intercepted as X11 events bool Client::eventFilter( TQObject* o, TQEvent* e ) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(shadowWidget)) + if (o == shadowWidget) { if (e->type() == TQEvent::MouseButtonRelease) { @@ -1291,7 +1291,7 @@ bool Client::eventFilter( TQObject* o, TQEvent* e ) } } if( decoration == NULL - || TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(decoration->widget())) + || o != decoration->widget()) return false; if( e->type() == TQEvent::MouseButtonPress ) { |