X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprojectitem.h;h=a917ca747bafa3af554d019950b386a7f0941cb3;hb=f4462e7ecb75f64e524746e3bb7c62a5e973d965;hp=c33de17a994ca5dd39ad47b6a5856ed61d9cc4b2;hpb=f0867739c9a788a250a37174e0952e0e96e318b3;p=kdenlive diff --git a/src/projectitem.h b/src/projectitem.h index c33de17a..a917ca74 100644 --- a/src/projectitem.h +++ b/src/projectitem.h @@ -58,7 +58,7 @@ public: CLIPTYPE clipType() const; void changeDuration(int frames); DocClipBase *referencedClip(); - void setProperties(QMap props); + void setProperties(const QMap &props); void setProperty(const QString &key, const QString &value); void clearProperty(const QString &key); QString getClipHash() const; @@ -94,7 +94,7 @@ private: QString m_clipId; bool m_pixmapSet; /** @brief Setup basic properties */ - void buildItem(QSize pixmapSize); + void buildItem(const QSize &pixmapSize); /** @brief Check if an xml project file has proxies */ bool playlistHasProxies(const QString& path); };