mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix build in Xcode.
This commit is contained in:
@@ -149,7 +149,8 @@ void Animation::parse(const QByteArray &content) {
|
||||
_treeBlueprint = std::make_unique<BMBase>();
|
||||
const auto blueprint = _treeBlueprint.get();
|
||||
const auto layers = root.value(QLatin1String("layers")).toArray();
|
||||
for (const auto &entry : ranges::view::reverse(layers)) {
|
||||
for (auto i = layers.end(); i != layers.begin();) {
|
||||
const auto &entry = *(--i);
|
||||
if (const auto layer = BMLayer::construct(entry.toObject())) {
|
||||
layer->setParent(blueprint);
|
||||
|
||||
|
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
Submodule Telegram/ThirdParty/qtlottie updated: 5cf5976b18...f905c3712d
Reference in New Issue
Block a user