mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Bring in SeerSeerLogWidget.cpp from main.
This commit is contained in:
@@ -44,15 +44,14 @@ void SeerSeerLogWidget::processText (const QString& text) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Don't call this. It removes extra '\' characters. Probably not needed for the Seer log.
|
||||
// Filter escape characters.
|
||||
// QString str = Seer::filterEscapes(text);
|
||||
QString str = Seer::filterEscapes(text);
|
||||
|
||||
if (isTimeStampEnabled()) {
|
||||
str = QString("[") + QTime::currentTime().toString("hh:mm:ss.zz") + QString("] ") + str;
|
||||
}
|
||||
|
||||
// Write the string to the log.
|
||||
textEdit->append(text);
|
||||
textEdit->append(str);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user