summaryrefslogtreecommitdiffstats
path: root/kmdi/kmdifocuslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmdi/kmdifocuslist.cpp')
-rw-r--r--kmdi/kmdifocuslist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmdi/kmdifocuslist.cpp b/kmdi/kmdifocuslist.cpp
index eeb0810d9..e8f71ff25 100644
--- a/kmdi/kmdifocuslist.cpp
+++ b/kmdi/kmdifocuslist.cpp
@@ -34,7 +34,7 @@ void KMdiFocusList::addWidgetTree( TQWidget* w )
w->setFocusPolicy( TQ_ClickFocus );
kdDebug( 760 ) << "KMdiFocusList::addWidgetTree: adding toplevel" << endl;
connect( w, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( objectHasBeenDestroyed( TQObject* ) ) );
- TQObjectList *l = w->queryList( "TQWidget" );
+ TQObjectList *l = w->queryList( TQWIDGET_OBJECT_NAME_STRING );
TQObjectListIt it( *l );
TQObject *obj;
while ( ( obj = it.current() ) != 0 )