Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/align/align.cpp
Show First 20 Lines • Show All 3487 Lines • ▼ Show 20 Line(s) | 3485 | { | |||
---|---|---|---|---|---|
3488 | result << sOrientation << sRA << sDEC; | 3488 | result << sOrientation << sRA << sDEC; | ||
3489 | 3489 | | |||
3490 | return result; | 3490 | return result; | ||
3491 | } | 3491 | } | ||
3492 | 3492 | | |||
3493 | void Align::appendLogText(const QString &text) | 3493 | void Align::appendLogText(const QString &text) | ||
3494 | { | 3494 | { | ||
3495 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | 3495 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | ||
3496 | QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss"), text)); | 3496 | KStarsData::Instance()->lt().toString("yyyy-MM-ddThh:mm:ss"), text)); | ||
3497 | 3497 | | |||
3498 | qCInfo(KSTARS_EKOS_ALIGN) << text; | 3498 | qCInfo(KSTARS_EKOS_ALIGN) << text; | ||
3499 | 3499 | | |||
3500 | emit newLog(text); | 3500 | emit newLog(text); | ||
3501 | } | 3501 | } | ||
3502 | 3502 | | |||
3503 | void Align::clearLog() | 3503 | void Align::clearLog() | ||
3504 | { | 3504 | { | ||
▲ Show 20 Lines • Show All 2607 Lines • Show Last 20 Lines |