summaryrefslogtreecommitdiffstats
path: root/kview/kview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kview.cpp')
-rw-r--r--kview/kview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kview.cpp b/kview/kview.cpp
index 063a0e14..8ecaeba9 100644
--- a/kview/kview.cpp
+++ b/kview/kview.cpp
@@ -251,7 +251,7 @@ void KView::readSettings() // TDEConfig * config )
bool KView::eventFilter( TQObject * obj, TQEvent * ev )
{
- if( ev->type() == TQEvent::Resize && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) )
+ if( ev->type() == TQEvent::Resize && obj == m_pViewer->widget() )
{
if( m_nResizeMode == ResizeImage )
handleResize();