summaryrefslogtreecommitdiffstats
path: root/kghostview/kgvpageview.cpp
diff options
context:
space:
mode:
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 );