X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fslideshowclip.h;h=fe0134fb8dfb44771b75c648502fe2f61f659eb4;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=b90eda34d29c5d4853a1836ded792dfc91ad9b64;hpb=55b10ef4f3093b158c0dc910ac974e2bdf9ce00d;p=kdenlive diff --git a/src/slideshowclip.h b/src/slideshowclip.h index b90eda34..fe0134fb 100644 --- a/src/slideshowclip.h +++ b/src/slideshowclip.h @@ -50,9 +50,9 @@ public: QString animation() const; /** @brief Get the image frame number from a file path, for example image_047.jpg will return 47. */ - static int getFrameNumberFromPath(KUrl path); + static int getFrameNumberFromPath(const KUrl &path); /** @brief return the url pattern for selected slideshow. */ - static QString selectedPath(KUrl url, bool isMime, QString extension, QStringList *list); + static QString selectedPath(const KUrl &url, bool isMime, QString extension, QStringList *list); /** @brief Convert the selection animation style into an affine geometry string. */ static QString animationToGeometry(const QString &animation, int &ttl);