Fix TQt4 TQWidget::parentWidget() segfault

pull/1/head
Timothy Pearson 14 years ago
parent e005ebd21d
commit 100463c71c

@ -238,7 +238,7 @@ int TQWidget::x11Screen( void ) {
TQWidget * TQWidget::parentWidget( bool sameWindow ) const { TQWidget * TQWidget::parentWidget( bool sameWindow ) const {
TQ_UNUSED(sameWindow); TQ_UNUSED(sameWindow);
return static_cast<TQWidget*>(parentWidget()); return TQT_TQWIDGET(QWidget::parentWidget());
} }
TQCString TQWidget::normalizeSignalSlot( const char *signalSlot ) { TQCString TQWidget::normalizeSignalSlot( const char *signalSlot ) {

Loading…
Cancel
Save