Commit c08bee5f authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

remove dupliate time

svn path=/trunk/kdeedu/kstars/; revision=289906
parent 8676f232
......@@ -471,13 +471,7 @@ void LX200Generic::ISNewText (const char *dev, const char *name, char *texts[],
if ( ( err = setCalenderDate(ltp->tm_mday, ltp->tm_mon, 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");
handleError(&Time, err, "Setting local date.");
return;
}
......
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