Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: remove unnecessary qDebug call
Browse files Browse the repository at this point in the history
qTox logs shouldn't contain any info that might include even parts of
user messages/etc.
  • Loading branch information
zetok committed Mar 22, 2016
1 parent ce5cad4 commit 66f9601
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/chatlog/chatmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
{
Expand Down

0 comments on commit 66f9601

Please sign in to comment.