Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/manager.cpp
Show First 20 Lines • Show All 1949 Lines • ▼ Show 20 Line(s) | 1949 | #ifdef Q_OS_OSX | |||
---|---|---|---|---|---|
1950 | repaint(); //This is a band-aid for a bug in QT 5.10.0 | 1950 | repaint(); //This is a band-aid for a bug in QT 5.10.0 | ||
1951 | #endif | 1951 | #endif | ||
1952 | 1952 | | |||
1953 | } | 1953 | } | ||
1954 | 1954 | | |||
1955 | void Manager::appendLogText(const QString &text) | 1955 | void Manager::appendLogText(const QString &text) | ||
1956 | { | 1956 | { | ||
1957 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | 1957 | m_LogText.insert(0, i18nc("log entry; %1 is the date, %2 is the text", "%1 %2", | ||
1958 | QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss"), text)); | 1958 | KStarsData::Instance()->lt().toString("yyyy-MM-ddThh:mm:ss"), text)); | ||
1959 | 1959 | | |||
1960 | qCInfo(KSTARS_EKOS) << text; | 1960 | qCInfo(KSTARS_EKOS) << text; | ||
1961 | 1961 | | |||
1962 | emit newLog(text); | 1962 | emit newLog(text); | ||
1963 | 1963 | | |||
1964 | updateLog(); | 1964 | updateLog(); | ||
1965 | } | 1965 | } | ||
1966 | 1966 | | |||
▲ Show 20 Lines • Show All 1338 Lines • Show Last 20 Lines |