Commit 1d4c027e authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Set calender date

svn path=/trunk/kdeedu/kstars/; revision=289587
parent 49e67a8c
......@@ -469,6 +469,12 @@ void LX200Generic::ISNewText (const char *dev, const char *name, char *texts[],
localTM = ltp;
if ( ( err = setCalenderDate(ltp->tm_day, ltp->tm_month, ltp->tm_year) < 0) )
{
handleError(&Time, err, "Setting local time");
return;
}
if ( ( err = setLocalTime(ltp->tm_hour, ltp->tm_min, ltp->tm_sec) < 0) )
{
handleError(&Time, err, "Setting local time");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment