diff options
Diffstat (limited to 'src/widgets/qgroupbox.cpp')
-rw-r--r-- | src/widgets/qgroupbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/qgroupbox.cpp b/src/widgets/qgroupbox.cpp index e6d2ad583..d78ae735f 100644 --- a/src/widgets/qgroupbox.cpp +++ b/src/widgets/qgroupbox.cpp @@ -677,7 +677,7 @@ void TQGroupBox::fixFocus() && w->isVisibleTo(this) ) { if ( w->hasFocus() #ifndef QT_NO_RADIOBUTTON - || ( !best && ::qt_cast<TQRadioButton*>(w) + || ( !best && ::tqt_cast<TQRadioButton*>(w) && ((TQRadioButton*)w)->isChecked() ) #endif ) @@ -841,7 +841,7 @@ void TQGroupBox::setCheckable( bool b ) if ( b ) { if ( !d->checkbox ) { d->checkbox = new TQCheckBox( title(), this, "qt_groupbox_checkbox" ); - if (TQButtonGroup *meAsButtonGroup = ::qt_cast<TQButtonGroup*>(this)) + if (TQButtonGroup *meAsButtonGroup = ::tqt_cast<TQButtonGroup*>(this)) meAsButtonGroup->remove(d->checkbox); setChecked( TRUE ); setChildrenEnabled( TRUE ); |