lottieplayer: remove redundant calls.

Those calls are useless on load time.

Change-Id: If69033eb244078c4f9b9258fcbc71eff17b894c9
This commit is contained in:
Hermet Park 2018-08-13 19:07:35 +09:00
parent b73a2cfdcf
commit a36f340a0b

View File

@ -119,10 +119,6 @@ bool LOTPlayerPrivate::setFilePath(std::string path)
if (loader.load(path)) {
mModel = loader.model();
mCompItem = std::make_unique<LOTCompItem>(mModel.get());
if (!mSize.isEmpty()) {
setSize(mSize);
setPos(0);
}
return true;
}
return false;