mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -05:00
removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
64c5a7ece2
commit
0b7f836eb1
@ -675,7 +675,7 @@ void RsHtml::optimizeHtml(QTextEdit *textEdit, QString &text, unsigned int flag)
|
|||||||
{
|
{
|
||||||
if (textEdit->toHtml() == QTextDocument(textEdit->toPlainText()).toHtml()) {
|
if (textEdit->toHtml() == QTextDocument(textEdit->toPlainText()).toHtml()) {
|
||||||
text = textEdit->toPlainText();
|
text = textEdit->toPlainText();
|
||||||
std::cerr << "Optimized text to " << text.length() << " bytes , instead of " << textEdit->toHtml().length() << std::endl;
|
// std::cerr << "Optimized text to " << text.length() << " bytes , instead of " << textEdit->toHtml().length() << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -712,7 +712,7 @@ void RsHtml::optimizeHtml(QString &text, unsigned int flag, const QColor &backgr
|
|||||||
::optimizeHtml(doc, body, flag, ::getRelativeLuminance(backgroundColor), desiredContrast);
|
::optimizeHtml(doc, body, flag, ::getRelativeLuminance(backgroundColor), desiredContrast);
|
||||||
text = doc.toString(-1);
|
text = doc.toString(-1);
|
||||||
|
|
||||||
std::cerr << "Optimized text to " << text.length() << " bytes , instead of " << originalLength << std::endl;
|
// std::cerr << "Optimized text to " << text.length() << " bytes , instead of " << originalLength << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString RsHtml::toHtml(QString text, bool realHtml)
|
QString RsHtml::toHtml(QString text, bool realHtml)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user