Skip to content

Commit 536070a

Browse files
committed
show process Time
1 parent 3ba7966 commit 536070a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/texstudio.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
#include "symbollistmodel.h"
7070
#include "symbolwidget.h"
7171
#include "execprogram.h"
72+
#include <QTime>
7273

7374
#include <QScreen>
7475

@@ -6253,7 +6254,8 @@ void Texstudio::processNotification(const QString &message)
62536254
{
62546255
if (message.startsWith(tr("Error:")))
62556256
outputView->showPage(outputView->MESSAGES_PAGE);
6256-
outputView->insertMessageLine(message + "\n");
6257+
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
6258+
outputView->insertMessageLine(timeInfo + " " + message + "\n");
62576259
}
62586260
/*!
62596261
* \brief clear log view in panel

0 commit comments

Comments
 (0)