2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

QtLottie: Move everything to Lottie namespace.

This commit is contained in:
John Preston
2019-05-15 19:54:08 +03:00
parent ab82ff0fb7
commit 26c29f6af7
4 changed files with 9 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QFile>
#include "logs.h"
#include "rasterrenderer/lottierasterrenderer.h"
#include "rasterrenderer/rasterrenderer.h"
namespace Lottie {
@@ -43,7 +43,7 @@ std::unique_ptr<Animation> FromFile(const QString &path) {
}
std::unique_ptr<Animation> FromData(const QByteArray &data) {
return std::make_unique<Lottie::Animation>(data);
return std::make_unique<Animation>(data);
}
Animation::Animation(const QByteArray &content)