diff options
Diffstat (limited to 'kexi/main/keximainwindowimpl.cpp')
-rw-r--r-- | kexi/main/keximainwindowimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/main/keximainwindowimpl.cpp b/kexi/main/keximainwindowimpl.cpp index bede2259..1c313ba2 100644 --- a/kexi/main/keximainwindowimpl.cpp +++ b/kexi/main/keximainwindowimpl.cpp @@ -290,7 +290,7 @@ KexiMainWindowImpl::KexiMainWindowImpl() } {//store menu popups list - TQObjectList *l = queryList( TQPOPUPMENU_OBJECT_NAME_STRING ); + TQObjectList *l = queryList( "TQPopupMenu" ); for (TQObjectListIt it( *l ); it.current(); ++it ) { //kdDebug() << "name=" <<it.current()->name() << " cname="<<it.current()->className()<<endl; //KexiMainWindowImpl::eventFilter() will filter our popups: @@ -3440,7 +3440,7 @@ bool KexiMainWindowImpl::eventFilter( TQObject *obj, TQEvent * e ) }*/ TQWidget *focus_w = 0; - if (obj->inherits(TQPOPUPMENU_OBJECT_NAME_STRING)) { + if (obj->inherits("TQPopupMenu")) { /* Fixes for popup menus behaviour: For hiding/showing: focus previously (d->focus_before_popup) focused window, if known, otherwise focus currently focused one. |