Skip to content

Commit 91f6399

Browse files
committed
show process Time
1 parent a0aaab6 commit 91f6399

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

@@ -6464,7 +6465,8 @@ void Texstudio::processNotification(const QString &message)
64646465
{
64656466
if (message.startsWith(tr("Error:")))
64666467
outputView->showPage(outputView->MESSAGES_PAGE);
6467-
outputView->insertMessageLine(message + "\n");
6468+
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
6469+
outputView->insertMessageLine(timeInfo + " " + message + "\n");
64686470
}
64696471
/*!
64706472
* \brief clear log view in panel

0 commit comments

Comments
 (0)