diff options
Diffstat (limited to 'kpdf')
-rw-r--r-- | kpdf/part.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpdf/part.cpp b/kpdf/part.cpp index 65714b05..736db94a 100644 --- a/kpdf/part.cpp +++ b/kpdf/part.cpp @@ -571,7 +571,7 @@ bool Part::closeURL() bool Part::eventFilter( TQObject * watched, TQEvent * e ) { // if pageView has been resized, save splitter sizes - if ( TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_pageView) && e->type() == TQEvent::Resize ) + if ( watched == m_pageView && e->type() == TQEvent::Resize ) m_saveSplitterSizeTimer->start(500, true); // only intercept events, don't block them |