Skip to content

Commit

Permalink
show process Time
Browse files Browse the repository at this point in the history
  • Loading branch information
octaeder committed Oct 13, 2024
1 parent 19ed6da commit f6e3e69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/texstudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
#include "symbollistmodel.h"
#include "symbolwidget.h"
#include "execprogram.h"
#include <QTime>

#include <QScreen>

Expand Down Expand Up @@ -6414,7 +6415,8 @@ void Texstudio::processNotification(const QString &message)
{
if (message.startsWith(tr("Error:")))
outputView->showPage(outputView->MESSAGES_PAGE);
outputView->insertMessageLine(message + "\n");
QString timeInfo = QTime::currentTime().toString("hh:mm:ss");
outputView->insertMessageLine(timeInfo + " " + message + "\n");
}
/*!
* \brief clear log view in panel
Expand Down

0 comments on commit f6e3e69

Please sign in to comment.