forked from qt-creator/qt-creator
VCS: Add seconds to timestamp in output window
Useful when there are multiple commands at the same minute. Change-Id: Ie5c344fe3d19e54e5b2fce1a5b3dc0cfdeb267e2 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
aedc0ca91b
commit
81ee28fc98
@@ -239,7 +239,7 @@ void OutputWindowPlainTextEdit::appendLinesWithStyle(const QString &s,
|
||||
setFormat(style);
|
||||
|
||||
if (style == VcsOutputWindow::Command) {
|
||||
const QString timeStamp = QTime::currentTime().toString("\nHH:mm ");
|
||||
const QString timeStamp = QTime::currentTime().toString("\nHH:mm:ss ");
|
||||
appendLines(timeStamp + s, repository);
|
||||
} else {
|
||||
appendLines(s, repository);
|
||||
|
Reference in New Issue
Block a user