mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Removed leftover debug logging.
This commit is contained in:
parent
518a398ca0
commit
a809897850
|
@ -222,11 +222,6 @@ QString ChatMessage::detectMarkdown(const QString &str)
|
||||||
if (Settings::getInstance().getMarkdownPreference() == 2)
|
if (Settings::getInstance().getMarkdownPreference() == 2)
|
||||||
mul = 2;
|
mul = 2;
|
||||||
|
|
||||||
if (snippet.length() > 0)
|
|
||||||
{
|
|
||||||
qDebug() << "Offset: " << offset << " Grabbed snippet: " << snippet << " exp.cap(7): " << exp.cap(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Match captured string to corresponding md format
|
// Match captured string to corresponding md format
|
||||||
if (exp.cap(1) == "**") // Bold **text**
|
if (exp.cap(1) == "**") // Bold **text**
|
||||||
htmledSnippet = QString(" <b>%1</b> ").arg(snippet.mid(mul,snippet.length()-2*mul));
|
htmledSnippet = QString(" <b>%1</b> ").arg(snippet.mid(mul,snippet.length()-2*mul));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user