X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsubprojectitem.h;h=6831682a9b2b5566159b3dcab48693cd6f71dd98;hb=55b10ef4f3093b158c0dc910ac974e2bdf9ce00d;hp=5b1d79128d177d1fa414067d9d778b3b262475a9;hpb=66477ff375fb6103903d61b0ac06ee47ab864356;p=kdenlive diff --git a/src/subprojectitem.h b/src/subprojectitem.h index 5b1d7912..6831682a 100644 --- a/src/subprojectitem.h +++ b/src/subprojectitem.h @@ -38,7 +38,7 @@ class DocClipBase; class SubProjectItem : public QTreeWidgetItem { public: - SubProjectItem(double display_ratio, QTreeWidgetItem * parent, int in, int out, QString description = QString()); + SubProjectItem(double display_ratio, QTreeWidgetItem * parent, int in, int out, const QString& description = QString()); virtual ~SubProjectItem(); QDomElement toXml() const; int numReferences() const; @@ -46,7 +46,7 @@ public: QPoint zone() const; void setZone(const QPoint &p); QString description() const; - void setDescription(QString desc); + void setDescription(const QString& desc); static int itemDefaultHeight(); /** Make sure folders appear on top of the tree widget */