Skip to content

Commit

Permalink
Restore old log timestamp format.
Browse files Browse the repository at this point in the history
Qt changed the meaning of the format we
were using for the timstamp. Switch back
to Qt:TextFormat which always is HH:MM:SS

Fixes #1332
  • Loading branch information
hacst committed Sep 24, 2014
1 parent 3c280a6 commit 491789c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ void Log::log(MsgType mt, const QString &console, const QString &terse, bool own
} else if (! g.mw->qteLog->document()->isEmpty()) {
tc.insertBlock();
}
tc.insertHtml(Log::msgColor(QString::fromLatin1("[%1] ").arg(Qt::escape(dt.time().toString(Qt::DefaultLocaleShortDate))), Log::Time));
tc.insertHtml(Log::msgColor(QString::fromLatin1("[%1] ").arg(Qt::escape(dt.time().toString())), Log::Time));
validHtml(console, true, &tc);
tc.movePosition(QTextCursor::End);
g.mw->qteLog->setTextCursor(tc);
Expand Down

0 comments on commit 491789c

Please sign in to comment.