diff options
Diffstat (limited to 'tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp')
-rw-r--r-- | tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp b/tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp index 450bfed..ab961e5 100644 --- a/tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp +++ b/tqtinterface/qt4/plugins/src/accessible/widgets/main.cpp @@ -127,9 +127,9 @@ TQRESULT AccessibleFactory::createAccessibleInterface( const TQString &classname } else if ( classname == "TQButton" ) { *iface = new TQAccessibleButton( object, PushButton ); } else if ( classname == "TQViewportWidget" ) { - *iface = new TQAccessibleViewport( object, object->tqparent() ); + *iface = new TQAccessibleViewport( object, object->parent() ); } else if ( classname == "TQClipperWidget" ) { - *iface = new TQAccessibleViewport( object, object->tqparent()->tqparent() ); + *iface = new TQAccessibleViewport( object, object->parent()->parent() ); } else if ( classname == "TQTextEdit" ) { *iface = new TQAccessibleTextEdit( object ); #ifndef TQT_NO_ICONVIEW |