summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorfreebusy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:48:01 +0900
committerMichele Calgaro <[email protected]>2023-08-18 16:31:28 +0900
commit829b015f6e55dafa7e4bedc6d456518db51bbe0d (patch)
tree58807ab2dc35549b3c2d3966c47fc61f1904e5fb /korganizer/koeditorfreebusy.cpp
parentfab4aa3bdd0ee1f10a9c91af9a7e054c01df9312 (diff)
downloadtdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.tar.gz
tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ca120c61e6281a9f8b89be860a7e975b5384bd07)
Diffstat (limited to 'korganizer/koeditorfreebusy.cpp')
-rw-r--r--korganizer/koeditorfreebusy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koeditorfreebusy.cpp b/korganizer/koeditorfreebusy.cpp
index 88c5414b3..7eec3b71d 100644
--- a/korganizer/koeditorfreebusy.cpp
+++ b/korganizer/koeditorfreebusy.cpp
@@ -983,7 +983,7 @@ void KOEditorFreeBusy::slotOrganizerChanged(const TQString & newOrganizer)
bool KOEditorFreeBusy::eventFilter( TQObject *watched, TQEvent *event )
{
- if ( TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(mGanttView->timeHeaderWidget()) &&
+ if ( watched == mGanttView->timeHeaderWidget() &&
event->type() >= TQEvent::MouseButtonPress && event->type() <= TQEvent::MouseMove ) {
return true;
} else {