2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Remove profiling logs.

This commit is contained in:
John Preston
2019-06-28 17:47:32 +02:00
parent 53a3d0038c
commit 2c461b9df3
4 changed files with 2 additions and 14 deletions

View File

@@ -15,7 +15,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "logs.h"
#include <QFile>
#include <QDebug>
#include <rlottie.h>
#include <crl/crl_async.h>
#include <crl/crl_on_main.h>
@@ -59,7 +58,7 @@ std::string UnpackGzip(const QByteArray &bytes) {
std::optional<Error> ContentError(const QByteArray &content) {
if (content.size() > kMaxFileSize) {
qWarning() << "Lottie Error: Too large file: " << content.size();
LOG(("Lottie Error: Too large file: %1").arg(content.size()));
return Error::ParseFailed;
}
return std::nullopt;
@@ -123,7 +122,7 @@ std::unique_ptr<rlottie::Animation> CreateFromContent(
auto result = rlottie::Animation::loadFromData(string, std::string());
if (!result) {
qWarning() << "Lottie Error: Parse failed.";
LOG(("Lottie Error: Parse failed."));
}
return result;
}