summaryrefslogtreecommitdiffstats
path: root/ksnapshot
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:14 +0900
committerMichele Calgaro <[email protected]>2023-08-17 20:16:22 +0900
commitfbcad37de1da878a3d6df5928cf0d41bbbe5a273 (patch)
tree34f89829397a87e7327ca8ed3d14ca69624731b4 /ksnapshot
parent8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13 (diff)
downloadtdegraphics-fbcad37de1da878a3d6df5928cf0d41bbbe5a273.tar.gz
tdegraphics-fbcad37de1da878a3d6df5928cf0d41bbbe5a273.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e0b799d647cf144caa7a58615e02132d9fd54809)
Diffstat (limited to 'ksnapshot')
-rw-r--r--ksnapshot/ksnapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp
index d1343d9f..8868fbdc 100644
--- a/ksnapshot/ksnapshot.cpp
+++ b/ksnapshot/ksnapshot.cpp
@@ -479,7 +479,7 @@ void KSnapshot::closeEvent( TQCloseEvent * e )
bool KSnapshot::eventFilter( TQObject* o, TQEvent* e)
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(grabber) && e->type() == TQEvent::MouseButtonPress ) {
+ if ( o == grabber && e->type() == TQEvent::MouseButtonPress ) {
TQMouseEvent* me = (TQMouseEvent*) e;
if ( TQWidget::mouseGrabber() != grabber )
return false;