summaryrefslogtreecommitdiffstats
path: root/tdemdi/tdemdichildview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdemdi/tdemdichildview.cpp')
-rw-r--r--tdemdi/tdemdichildview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdemdi/tdemdichildview.cpp b/tdemdi/tdemdichildview.cpp
index 19a0edfb2..487627b08 100644
--- a/tdemdi/tdemdichildview.cpp
+++ b/tdemdi/tdemdichildview.cpp
@@ -629,14 +629,14 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
if ( e->type() == TQEvent::IconChange )
{
// tqDebug("KMDiChildView:: TQEvent:IconChange intercepted\n");
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) )
+ if ( obj == this )
iconUpdated( this, icon() ? ( *icon() ) : TQPixmap() );
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_trackChanges) )
+ else if ( obj == m_trackChanges )
setIcon( m_trackChanges->icon() ? ( *( m_trackChanges->icon() ) ) : TQPixmap() );
}
if ( e->type() == TQEvent::CaptionChange )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) )
+ if ( obj == this )
captionUpdated( this, caption() );
}
}