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 f91942d1..3c487eac 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( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) && ev->type() == TQEvent::Resize )
+ if( ev->type() == TQEvent::Resize && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) )
{
if( m_nResizeMode == ResizeImage )
handleResize();