Restore setup of flush timer that was inadvertently lost

This commit is contained in:
Simon Walton 2018-04-04 14:43:26 -07:00
parent ed3347a89b
commit ce5f6da6ca

View file

@ -36,6 +36,9 @@ LogHandler::LogHandler() {
// when the log handler is first setup we should print our timezone
QString timezoneString = "Time zone: " + QDateTime::currentDateTime().toString("t");
printMessage(LogMsgType::LogInfo, QMessageLogContext(), timezoneString);
// make sure we setup the repeated message flusher, but do it on the LogHandler thread
QMetaObject::invokeMethod(this, "setupRepeatedMessageFlusher");
}
LogHandler::~LogHandler() {