Skip to content

Commit a971fd0

Browse files
committed
show process Time
1 parent 0c836b5 commit a971fd0

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

@@ -6250,7 +6251,8 @@ void Texstudio::processNotification(const QString &message)
62506251
{
62516252
if (message.startsWith(tr("Error:")))
62526253
outputView->showPage(outputView->MESSAGES_PAGE);
6253-
outputView->insertMessageLine(message + "\n");
6254+
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
6255+
outputView->insertMessageLine(timeInfo + " " + message + "\n");
62546256
}
62556257
/*!
62566258
* \brief clear log view in panel

0 commit comments

Comments
 (0)