From cce0929bf27c897e1ce603acd4fcc8276423894d Mon Sep 17 00:00:00 2001 From: octaeder <102688820+octaeder@users.noreply.github.com> Date: Sun, 2 Jul 2023 15:24:24 +0200 Subject: [PATCH] show process Time --- src/texstudio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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