diff --git a/tqtinterface/qt4/src/kernel/tqwidget.cpp b/tqtinterface/qt4/src/kernel/tqwidget.cpp index 3bfdd86..9e60bac 100644 --- a/tqtinterface/qt4/src/kernel/tqwidget.cpp +++ b/tqtinterface/qt4/src/kernel/tqwidget.cpp @@ -238,7 +238,7 @@ int TQWidget::x11Screen( void ) { TQWidget * TQWidget::parentWidget( bool sameWindow ) const { TQ_UNUSED(sameWindow); - return static_cast(parentWidget()); + return TQT_TQWIDGET(QWidget::parentWidget()); } TQCString TQWidget::normalizeSignalSlot( const char *signalSlot ) {