diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 18:54:01 +0900 |
commit | 0fc56f21d45249a473d20555ff3071d3b16bee54 (patch) | |
tree | c788136146e1f97187ecaf773563c21cbd42fa11 /twin/events.cpp | |
parent | 83e74d1e550db6a814ec252968b601f6a9b14f9b (diff) | |
download | tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
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 ) { |