[Kstars-devel] KDE/kdeedu/kstars/kstars/widgets
Jason Harris
kstars at 30doradus.org
Mon Apr 24 04:45:32 CEST 2006
SVN commit 533203 by harris:
fix crash...don't know why it suddenly started crashing, but had to move
the call to setDaysOnly() (which fills the TimeString list) to the top
of the TimeSpinBox ctor.
CCMAIL: kstars-devel at kde.org
M +2 -2 timespinbox.cpp
--- trunk/KDE/kdeedu/kstars/kstars/widgets/timespinbox.cpp #533202:533203
@@ -43,12 +43,12 @@
TimeSpinBox::TimeSpinBox( QWidget *parent, bool _daysonly )
: QSpinBox ( parent )
{
+ setDaysOnly( _daysonly );
+
setMinimum( -41 );
setMaximum( 41 );
setSingleStep( 1 );
- setDaysOnly( _daysonly );
-
setButtonSymbols( QSpinBox::PlusMinus );
lineEdit()->setReadOnly( true );
setValue( 4 ); //1 second (real time)
More information about the Kstars-devel
mailing list