Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/capture/capture.cpp
Show First 20 Lines • Show All 2165 Lines • ▼ Show 20 Line(s) | 2165 | if (indexOK && newFileIndex >= nextSequenceID) | |||
---|---|---|---|---|---|
2166 | nextSequenceID = newFileIndex + 1; | 2166 | nextSequenceID = newFileIndex + 1; | ||
2167 | } | 2167 | } | ||
2168 | } | 2168 | } | ||
2169 | } | 2169 | } | ||
2170 | 2170 | | |||
2171 | void Capture::appendLogText(const QString &text) | 2171 | void Capture::appendLogText(const QString &text) | ||
2172 | { | 2172 | { | ||
2173 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | 2173 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | ||
2174 | QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss"), text)); | 2174 | KStarsData::Instance()->lt().toString("yyyy-MM-ddThh:mm:ss"), text)); | ||
2175 | 2175 | | |||
2176 | qCInfo(KSTARS_EKOS_CAPTURE) << text; | 2176 | qCInfo(KSTARS_EKOS_CAPTURE) << text; | ||
2177 | 2177 | | |||
2178 | emit newLog(text); | 2178 | emit newLog(text); | ||
2179 | } | 2179 | } | ||
2180 | 2180 | | |||
2181 | void Capture::clearLog() | 2181 | void Capture::clearLog() | ||
2182 | { | 2182 | { | ||
▲ Show 20 Lines • Show All 4411 Lines • Show Last 20 Lines |