1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: remove unnecessary qDebug call

qTox logs shouldn't contain any info that might include even parts of
user messages/etc.
This commit is contained in:
Zetok Zalbavar 2016-03-22 10:54:59 +00:00
parent ce5cad4c0f
commit 66f96019cb
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -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()))
{