summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 19:53:20 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-22 19:53:20 -0500
commit100463c71cdd5895e16924fb989a2a8762362551 (patch)
tree9714b1fd0c642ee55399181bd171c7281c03e9fd /tqtinterface/qt4
parente005ebd21ddb56db4a2165ffe7936fe8f6e84991 (diff)
downloadexperimental-100463c71cdd5895e16924fb989a2a8762362551.tar.gz
experimental-100463c71cdd5895e16924fb989a2a8762362551.zip
Fix TQt4 TQWidget::parentWidget() segfault
Diffstat (limited to 'tqtinterface/qt4')
-rw-r--r--tqtinterface/qt4/src/kernel/tqwidget.cpp2
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 ) {