Skip to content

Commit 5260732

Browse files
committed
show process Time
1 parent a21a7ef commit 5260732

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

@@ -6305,7 +6306,8 @@ void Texstudio::processNotification(const QString &message)
63056306
{
63066307
if (message.startsWith(tr("Error:")))
63076308
outputView->showPage(outputView->MESSAGES_PAGE);
6308-
outputView->insertMessageLine(message + "\n");
6309+
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
6310+
outputView->insertMessageLine(timeInfo + " " + message + "\n");
63096311
}
63106312
/*!
63116313
* \brief clear log view in panel

0 commit comments

Comments
 (0)