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 14:22:25 +0900
commite0b799d647cf144caa7a58615e02132d9fd54809 (patch)
tree8bbc94fe4f5bfe51419fcc716bae3a9c77f1dfdd /ksnapshot
parent96eaae090ebed7c9cef41303e4b43a2aac0b3d8b (diff)
downloadtdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.tar.gz
tdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
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;