[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Sun May 10 09:37:07 CEST 2009
SVN commit 965959 by prakash:
The location was not updated for computing rise and set times of sun in AVT Dialog. Fixing that.
CCMAIL: kstars-devel at kde.org
M +1 -0 altvstime.cpp
--- branches/kstars/summer/kstars/kstars/tools/altvstime.cpp #965958:965959
@@ -349,6 +349,7 @@
//expressed as doubles, the fraction of a full day.
KStarsDateTime today = getDate();
ksal->setDate( &today);
+ ksal->setLocation(geo);
double sunRise = ksal->getSunRise();
double sunSet = ksal->getSunSet();
avtUI->View->setSunRiseSetTimes( sunRise, sunSet );
More information about the Kstars-devel
mailing list