diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-22 19:53:20 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-22 19:53:20 -0500 |
commit | 100463c71cdd5895e16924fb989a2a8762362551 (patch) | |
tree | 9714b1fd0c642ee55399181bd171c7281c03e9fd /tqtinterface | |
parent | e005ebd21ddb56db4a2165ffe7936fe8f6e84991 (diff) | |
download | experimental-100463c71cdd5895e16924fb989a2a8762362551.tar.gz experimental-100463c71cdd5895e16924fb989a2a8762362551.zip |
Fix TQt4 TQWidget::parentWidget() segfault
Diffstat (limited to 'tqtinterface')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<TQWidget*>(parentWidget()); + return TQT_TQWIDGET(QWidget::parentWidget()); } TQCString TQWidget::normalizeSignalSlot( const char *signalSlot ) { |