summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:47:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 14:22:25 +0900
commite0b799d647cf144caa7a58615e02132d9fd54809 (patch)
tree8bbc94fe4f5bfe51419fcc716bae3a9c77f1dfdd /kghostview
parent96eaae090ebed7c9cef41303e4b43a2aac0b3d8b (diff)
downloadtdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.tar.gz
tdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/kgvpageview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kghostview/kgvpageview.cpp b/kghostview/kgvpageview.cpp
index 336bad6d..f725cf03 100644
--- a/kghostview/kgvpageview.cpp
+++ b/kghostview/kgvpageview.cpp
@@ -52,7 +52,7 @@ bool KGVPageView::atBottom() const
bool KGVPageView::eventFilter( TQObject* o, TQEvent* e )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_page) && e->type() == TQEvent::Resize ) {
+ if ( o == _page && e->type() == TQEvent::Resize ) {
// We need to call TQScrollView::eventFilter before centerContents,
// otherwise a loop will be introduced.
bool result = TQScrollView::eventFilter( o, e );