Author: coolo Date: Tue Jan 22 13:36:39 2008 New Revision: 43813 URL: http://svn.opensuse.org/viewcvs/yast?rev=43813&view=rev Log: _checkBox was not needed since I reworked the hack Modified: trunk/qt/src/YQCheckBoxFrame.cc trunk/qt/src/YQCheckBoxFrame.h Modified: trunk/qt/src/YQCheckBoxFrame.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQCheckBoxFrame.cc?rev=43813&r1=43812&r2=43813&view=diff ============================================================================== --- trunk/qt/src/YQCheckBoxFrame.cc (original) +++ trunk/qt/src/YQCheckBoxFrame.cc Tue Jan 22 13:36:39 2008 @@ -59,16 +59,13 @@ bool YQCheckBoxFrame::value() { - return _checkBox ? _checkBox->isChecked() : QGroupBox::isChecked(); + return QGroupBox::isChecked(); } void YQCheckBoxFrame::setValue( bool newValue ) { - if ( _checkBox ) - _checkBox->setChecked( newValue ); - else - setChecked( newValue ); + setChecked( newValue ); } void YQCheckBoxFrame::setEnabled( bool enabled ) Modified: trunk/qt/src/YQCheckBoxFrame.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQCheckBoxFrame.h?rev=43813&r1=43812&r2=43813&view=diff ============================================================================== --- trunk/qt/src/YQCheckBoxFrame.h (original) +++ trunk/qt/src/YQCheckBoxFrame.h Tue Jan 22 13:36:39 2008 @@ -114,12 +114,6 @@ virtual void childEvent( QChildEvent * ); virtual bool event(QEvent *e); - - // - // Data members - // - - QCheckBox * _checkBox; }; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org