[Kstars-devel] branches/KDE/3.5/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Thu Sep 29 07:53:05 CEST 2005


SVN commit 465147 by harris:

Fixing bug 113450 (startup time an hour off if daylight savings time 
active).

This is a symptom of the extremely complex, extremely interconnected, 
extremely fragile startup procedure in kstars-3.5 branch.  The problem 
has been fixed properly in trunk, but I decided at the time that the 
changes were too major to do in the 3.5 branch during a feature freeze.

I have applied a band-aid fix that solves the symptom of this bug; I 
should backport the full startup changes from trunk once 3.5.0 is out.

BUG: 113450
CCMAIL: kstars-devel at kde.org



 M  +3 -0      kstarsinit.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/kstarsinit.cpp #465146:465147
@@ -492,6 +492,9 @@
 
 	ks->resize( Options::windowWidth(), Options::windowHeight() );
 
+	//Geographic location
+	ks->setGeoLocation( Options::cityName(), Options::provinceName(), Options::countryName() );
+
 	// initialize clock with current time/date or the date/time specified on the command line
 	KStarsDateTime startDate = KStarsDateTime::fromString( ks->StartDateString );
 	if ( startDate.isValid() )


More information about the Kstars-devel mailing list