summaryrefslogtreecommitdiffstats
path: root/kghostview/kgvpageview.cpp
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 /kghostview/kgvpageview.cpp
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 'kghostview/kgvpageview.cpp')
-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 );