From daf5d4acdb879058d385a5f5f749c85f1bc6830a Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 8 May 2015 16:02:24 +0300 Subject: [PATCH] removed temp code --- Telegram/SourceFiles/history.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Telegram/SourceFiles/history.cpp b/Telegram/SourceFiles/history.cpp index 3e3c34508..3c84e2610 100644 --- a/Telegram/SourceFiles/history.cpp +++ b/Telegram/SourceFiles/history.cpp @@ -4375,14 +4375,6 @@ void HistoryMessage::initDimensions(const QString &text) { if (_media) { _text.setText(st::msgFont, text, _historyTextOptions); } else { -/* char tmp[64] = {0}, tmp2[64] = {0}; - int from = 0, to = 65535; - QString a = QString::fromLatin1(hashMd5Hex(hashMd5(text.constData() + qMin(text.size(), from), (qMin(text.size(), to) - qMin(text.size(), from)) * 2, tmp2), tmp)); - QString b; - for (int i = qMin(text.size(), from); i < qMin(text.size(), to); ++i) { - b.append(QString("0x%1 ").arg(text.at(i).unicode(), 0, 16)); - } - _text.setText(st::msgFont, text.mid(from, to - from) + ' ' + b + a + textcmdSkipBlock(_timeWidth, st::msgDateFont->height - st::msgDateDelta.y()), _historyTextOptions);*/ _text.setText(st::msgFont, text + textcmdSkipBlock(_timeWidth, st::msgDateFont->height - st::msgDateDelta.y()), _historyTextOptions); } }