From d6b6a03802e56e4e4ea06402846eb460d0cf5d00 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Thu, 16 Aug 2018 00:44:32 +0200 Subject: [PATCH] Fixed extra linebreaks after songchange in IC. --- courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courtroom.cpp b/courtroom.cpp index 717ee9d..9b579d5 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1507,7 +1507,7 @@ void Courtroom::append_ic_songchange(QString p_songname, QString p_name) } ui_ic_chatlog->textCursor().insertText(" has played a song: ", normal); - ui_ic_chatlog->textCursor().insertText(p_songname + "." + '\n', italics); + ui_ic_chatlog->textCursor().insertText(p_songname + ".", italics); // If we got too many blocks in the current log, delete some from the top. while (ui_ic_chatlog->document()->blockCount() > log_maximum_blocks)