diff --git a/inc/lottieplayer.h b/inc/lottieplayer.h index dfda1520a7..49904b4f16 100644 --- a/inc/lottieplayer.h +++ b/inc/lottieplayer.h @@ -44,8 +44,6 @@ public: ~LOTPlayer(); LOTPlayer(); - LOTPlayer(const char *filePath); - bool setFilePath(const char *filePath); void setSize(int width, int height); diff --git a/src/lottie/lottieplayer.cpp b/src/lottie/lottieplayer.cpp index b71ffdbdaa..b68e0f4b0e 100644 --- a/src/lottie/lottieplayer.cpp +++ b/src/lottie/lottieplayer.cpp @@ -113,10 +113,6 @@ LOTPlayer::~LOTPlayer() delete d; } -LOTPlayer::LOTPlayer(const char *filePath):d(new LOTPlayerPrivate()) -{ - d->setFilePath(filePath); -} /** * \breif Brief abput the Api.