summaryrefslogtreecommitdiffstats
path: root/kview/modules/presenter/kviewpresenter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/modules/presenter/kviewpresenter.cpp')
-rw-r--r--kview/modules/presenter/kviewpresenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/modules/presenter/kviewpresenter.cpp b/kview/modules/presenter/kviewpresenter.cpp
index 99083b6d..3017e1b8 100644
--- a/kview/modules/presenter/kviewpresenter.cpp
+++ b/kview/modules/presenter/kviewpresenter.cpp
@@ -160,7 +160,7 @@ KViewPresenter::~KViewPresenter()
bool KViewPresenter::eventFilter( TQObject *obj, TQEvent *ev )
{
- if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList->m_pListView) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList->m_pListView->viewport()) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) )
+ if( obj == m_pImageList || obj == m_pImageList->m_pListView || obj == m_pImageList->m_pListView->viewport() || obj == m_pViewer->widget() )
{
switch( ev->type() )
{