From 100463c71cdd5895e16924fb989a2a8762362551 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 22 Jul 2011 19:53:20 -0500 Subject: [PATCH] Fix TQt4 TQWidget::parentWidget() segfault --- tqtinterface/qt4/src/kernel/tqwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {