summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/workspace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/workspace.cpp')
-rw-r--r--kdevdesigner/designer/workspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/workspace.cpp b/kdevdesigner/designer/workspace.cpp
index b806cc6c..27fb6e57 100644
--- a/kdevdesigner/designer/workspace.cpp
+++ b/kdevdesigner/designer/workspace.cpp
@@ -648,7 +648,7 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos )
bool Workspace::eventFilter( TQObject *o, TQEvent * e )
{
// Reggie, on what type of events do we have to execute updateBufferEdit()
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(bufferEdit) && e->type() != TQEvent::ChildRemoved )
+ if ( o == bufferEdit && e->type() != TQEvent::ChildRemoved )
updateBufferEdit();
return TQListView::eventFilter( o, e );
}