[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/widgets
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2006-04-24 2:45:32
Message-ID: 1145846732.672036.25248.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic