Skip to content

Commit 7a01a73

Browse files
committed
show process Time
1 parent 8388885 commit 7a01a73

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

@@ -6342,7 +6343,8 @@ void Texstudio::processNotification(const QString &message)
63426343
{
63436344
if (message.startsWith(tr("Error:")))
63446345
outputView->showPage(outputView->MESSAGES_PAGE);
6345-
outputView->insertMessageLine(message + "\n");
6346+
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
6347+
outputView->insertMessageLine(timeInfo + " " + message + "\n");
63466348
}
63476349
/*!
63486350
* \brief clear log view in panel

0 commit comments

Comments
 (0)