From 66f96019cb7389eb847b880a2e76bbd68a0ac288 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Tue, 22 Mar 2016 10:54:59 +0000 Subject: [PATCH] fix: remove unnecessary qDebug call qTox logs shouldn't contain any info that might include even parts of user messages/etc. --- src/chatlog/chatmessage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/chatlog/chatmessage.cpp b/src/chatlog/chatmessage.cpp index d66441b88..73b501dba 100644 --- a/src/chatlog/chatmessage.cpp +++ b/src/chatlog/chatmessage.cpp @@ -210,8 +210,6 @@ QString ChatMessage::detectMarkdown(const QString &str) QString htmledSnippet; - qDebug() << "snipCheck: " << snipCheck << " out: " << out << " snipLength: " << snippet.toHtmlEscaped().length() << " outLength: " << out.toHtmlEscaped().length(); - // Only parse if surrounded by spaces, newline(s) and/or beginning/end of line if ((snipCheck.startsWith(' ') || snipCheck.startsWith('>') || offset == 0) && ((snipCheck.endsWith(' ') || snipCheck.endsWith('<')) || offset + snippet.toHtmlEscaped().length() == out.toHtmlEscaped().length())) {