diff --git a/src/texstudio.cpp b/src/texstudio.cpp index 84b676412..544681b02 100644 --- a/src/texstudio.cpp +++ b/src/texstudio.cpp @@ -69,6 +69,7 @@ #include "symbollistmodel.h" #include "symbolwidget.h" #include "execprogram.h" +#include #include @@ -6371,7 +6372,8 @@ void Texstudio::processNotification(const QString &message) { if (message.startsWith(tr("Error:"))) outputView->showPage(outputView->MESSAGES_PAGE); - outputView->insertMessageLine(message + "\n"); + QString timeInfo = QTime::currentTime().toString("hh:mm:ss"); + outputView->insertMessageLine(timeInfo + " " + message + "\n"); } /*! * \brief clear log view in panel